]> BookStack Code Mirror - bookstack/blob - resources/views/pages/page-display.blade.php
Updated all application urls to allow path prefix.
[bookstack] / resources / views / pages / page-display.blade.php
1 <div ng-non-bindable>
2
3     <h1 id="bkmrk-page-title" class="float left">{{$page->name}}</h1>
4
5     @if(count($page->tags) > 0)
6         <div class="tag-display float right">
7             <div class="heading primary-background-light">Page Tags</div>
8             <table>
9                 @foreach($page->tags as $tag)
10                     <tr class="tag">
11                         <td @if(!$tag->value) colspan="2" @endif><a href="{{ baseUrl('/search/all?term=%5B' . urlencode($tag->name) .'%5D') }}">{{ $tag->name }}</a></td>
12                         @if($tag->value) <td class="tag-value"><a href="{{ baseUrl('/search/all?term=%5B' . urlencode($tag->name) .'%3D' . urlencode($tag->value) . '%5D') }}">{{$tag->value}}</a></td> @endif
13                     </tr>
14                 @endforeach
15             </table>
16         </div>
17     @endif
18
19     <div style="clear:left;"></div>
20
21     {!! $page->html !!}
22 </div>