1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Rolled out reference pages to all entities, added testing

Including testing to check permissions applied to listed references.
This commit is contained in:
Dan Brown
2022-08-19 22:40:44 +01:00
parent d5465726e2
commit d198332d3c
9 changed files with 182 additions and 19 deletions

View File

@ -0,0 +1,13 @@
<main class="card content-wrap">
<h1 class="list-heading">{{ trans('entities.references') }}</h1>
<p>{{ trans('entities.references_to_desc') }}</p>
@if(count($references) > 0)
<div class="book-contents">
@include('entities.list', ['entities' => $references->pluck('from'), 'showPath' => true])
</div>
@else
<p class="text-muted italic">{{ trans('entities.references_none') }}</p>
@endif
</main>