2016-12-03 13:35:40 -05:00
|
|
|
<div class="breadcrumbs">
|
2017-04-22 08:39:34 -04:00
|
|
|
@if (userCan('view', $page->book))
|
|
|
|
<a href="{{ $page->book->getUrl() }}" class="text-book text-button"><i class="zmdi zmdi-book"></i>{{ $page->book->getShortName() }}</a>
|
2016-12-03 13:35:40 -05:00
|
|
|
<span class="sep">»</span>
|
2017-04-22 08:39:34 -04:00
|
|
|
@endif
|
|
|
|
@if($page->hasChapter() && userCan('view', $page->chapter))
|
2016-12-03 13:35:40 -05:00
|
|
|
<a href="{{ $page->chapter->getUrl() }}" class="text-chapter text-button">
|
|
|
|
<i class="zmdi zmdi-collection-bookmark"></i>
|
|
|
|
{{ $page->chapter->getShortName() }}
|
|
|
|
</a>
|
2017-04-22 08:39:34 -04:00
|
|
|
<span class="sep">»</span>
|
2016-12-03 13:35:40 -05:00
|
|
|
@endif
|
|
|
|
<a href="{{ $page->getUrl() }}" class="text-page text-button"><i class="zmdi zmdi-file"></i>{{ $page->getShortName() }}</a>
|
|
|
|
</div>
|