2016-12-04 02:35:40 +08:00
|
|
|
<div class="breadcrumbs">
|
2017-04-22 20:39:34 +08: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-04 02:35:40 +08:00
|
|
|
<span class="sep">»</span>
|
2017-04-22 20:39:34 +08:00
|
|
|
@endif
|
|
|
|
@if($page->hasChapter() && userCan('view', $page->chapter))
|
2016-12-04 02:35:40 +08: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 20:39:34 +08:00
|
|
|
<span class="sep">»</span>
|
2016-12-04 02:35:40 +08:00
|
|
|
@endif
|
|
|
|
<a href="{{ $page->getUrl() }}" class="text-page text-button"><i class="zmdi zmdi-file"></i>{{ $page->getShortName() }}</a>
|
|
|
|
</div>
|