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:
13
resources/views/entities/references.blade.php
Normal file
13
resources/views/entities/references.blade.php
Normal 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>
|
Reference in New Issue
Block a user