Added notice for lack of shelf permission cascade

Closes #2876
This commit is contained in:
Dan Brown
2021-08-28 15:44:44 +01:00
parent cd35e13024
commit 82c6597a60
4 changed files with 13 additions and 1 deletions

View File

@ -20,6 +20,10 @@
</div>
</div>
@if($model instanceof \BookStack\Entities\Models\Bookshelf)
<p class="text-warn">{{ trans('entities.shelves_permissions_cascade_warning') }}</p>
@endif
<hr>
<table permissions-table class="table permissions-table toggle-switch-list" style="{{ !$model->restricted ? 'display: none' : '' }}">