2016-12-03 13:35:40 -05:00
|
|
|
<div class="breadcrumbs">
|
2017-04-22 08:39:34 -04:00
|
|
|
@if (userCan('view', $page->book))
|
2018-10-21 15:05:11 -04:00
|
|
|
<a href="{{ $page->book->getUrl() }}" class="entity-chip text-book">@icon('book'){{ $page->book->getShortName() }}</a>
|
|
|
|
<div class="separator">@icon('chevron-right')</div>
|
2017-04-22 08:39:34 -04:00
|
|
|
@endif
|
|
|
|
@if($page->hasChapter() && userCan('view', $page->chapter))
|
2018-10-21 15:05:11 -04:00
|
|
|
<a href="{{ $page->chapter->getUrl() }}" class="entity-chip text-chapter">
|
2018-02-17 08:30:52 -05:00
|
|
|
@icon('chapter')
|
2016-12-03 13:35:40 -05:00
|
|
|
{{ $page->chapter->getShortName() }}
|
|
|
|
</a>
|
2018-10-21 15:05:11 -04:00
|
|
|
<div class="separator">@icon('chevron-right')</div>
|
2016-12-03 13:35:40 -05:00
|
|
|
@endif
|
2018-10-21 15:05:11 -04:00
|
|
|
<a href="{{ $page->getUrl() }}" class="entity-chip text-page">@icon('page'){{ $page->getShortName() }}</a>
|
2016-12-03 13:35:40 -05:00
|
|
|
</div>
|