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:
21
resources/views/chapters/references.blade.php
Normal file
21
resources/views/chapters/references.blade.php
Normal file
@ -0,0 +1,21 @@
|
||||
@extends('layouts.simple')
|
||||
|
||||
@section('body')
|
||||
|
||||
<div class="container small">
|
||||
|
||||
<div class="my-s">
|
||||
@include('entities.breadcrumbs', ['crumbs' => [
|
||||
$chapter->book,
|
||||
$chapter,
|
||||
$chapter->getUrl('/references') => [
|
||||
'text' => trans('entities.references'),
|
||||
'icon' => 'reference',
|
||||
]
|
||||
]])
|
||||
</div>
|
||||
|
||||
@include('entities.references', ['references' => $references])
|
||||
</div>
|
||||
|
||||
@stop
|
Reference in New Issue
Block a user