2016-12-03 19:35:40 +01:00
|
|
|
<div class="breadcrumbs">
|
2017-04-22 14:39:34 +02:00
|
|
|
@if (userCan('view', $page->book))
|
2018-02-17 14:30:52 +01:00
|
|
|
<a href="{{ $page->book->getUrl() }}" class="text-book text-button">@icon('book'){{ $page->book->getShortName() }}</a>
|
2016-12-03 19:35:40 +01:00
|
|
|
<span class="sep">»</span>
|
2017-04-22 14:39:34 +02:00
|
|
|
@endif
|
|
|
|
@if($page->hasChapter() && userCan('view', $page->chapter))
|
2016-12-03 19:35:40 +01:00
|
|
|
<a href="{{ $page->chapter->getUrl() }}" class="text-chapter text-button">
|
2018-02-17 14:30:52 +01:00
|
|
|
@icon('chapter')
|
2016-12-03 19:35:40 +01:00
|
|
|
{{ $page->chapter->getShortName() }}
|
|
|
|
</a>
|
2017-04-22 14:39:34 +02:00
|
|
|
<span class="sep">»</span>
|
2016-12-03 19:35:40 +01:00
|
|
|
@endif
|
2018-02-17 20:49:00 +01:00
|
|
|
<a href="{{ $page->getUrl() }}" class="text-page text-button">@icon('page'){{ $page->getShortName() }}</a>
|
2016-12-03 19:35:40 +01:00
|
|
|
</div>
|