2015-12-30 13:38:18 -05:00
|
|
|
<div ng-non-bindable>
|
2016-05-15 05:39:17 -04:00
|
|
|
|
|
|
|
<h1 id="bkmrk-page-title" class="float left">{{$page->name}}</h1>
|
|
|
|
|
|
|
|
@if(count($page->tags) > 0)
|
|
|
|
<div class="tag-display float right">
|
|
|
|
<table>
|
2016-08-21 08:35:22 -04:00
|
|
|
<thead>
|
|
|
|
<tr class="text-left heading primary-background-light">
|
2016-12-03 13:35:40 -05:00
|
|
|
<th colspan="2">{{ trans('entities.page_tags') }}</th>
|
2016-05-15 05:39:17 -04:00
|
|
|
</tr>
|
2016-08-21 08:35:22 -04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach($page->tags as $tag)
|
|
|
|
<tr class="tag">
|
|
|
|
<td @if(!$tag->value) colspan="2" @endif><a href="{{ baseUrl('/search/all?term=%5B' . urlencode($tag->name) .'%5D') }}">{{ $tag->name }}</a></td>
|
|
|
|
@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
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
2016-05-15 05:39:17 -04:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<div style="clear:left;"></div>
|
2015-10-10 13:57:52 -04:00
|
|
|
|
2016-07-07 13:42:21 -04:00
|
|
|
@if (isset($diff) && $diff)
|
|
|
|
{!! $diff !!}
|
|
|
|
@else
|
|
|
|
{!! $page->html !!}
|
|
|
|
@endif
|
2015-12-29 10:37:13 -05:00
|
|
|
</div>
|