BookStack/resources/views/chapters/_breadcrumbs.blade.php

7 lines
372 B
PHP
Raw Normal View History

<div class="breadcrumbs">
@if (userCan('view', $chapter->book))
2018-02-17 21:30:52 +08:00
<a href="{{ $chapter->book->getUrl() }}" class="text-book text-button">@icon('book'){{ $chapter->book->getShortName() }}</a>
<span class="sep">&raquo;</span>
@endif
2018-02-17 21:30:52 +08:00
<a href="{{ $chapter->getUrl() }}" class="text-chapter text-button">@icon('chapter'){{$chapter->getShortName()}}</a>
</div>