35 lines
1,014 B
PHP
35 lines
1,014 B
PHP
|
@extends('layouts.simple')
|
||
|
|
||
|
@section('body')
|
||
|
|
||
|
<div class="container small">
|
||
|
|
||
|
<div class="my-s">
|
||
|
@include('entities.breadcrumbs', ['crumbs' => [
|
||
|
$page->book,
|
||
|
$page->chapter,
|
||
|
$page,
|
||
|
$page->getUrl('/references') => [
|
||
|
'text' => trans('entities.references'),
|
||
|
'icon' => 'reference',
|
||
|
]
|
||
|
]])
|
||
|
</div>
|
||
|
|
||
|
<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>
|
||
|
</div>
|
||
|
|
||
|
@stop
|