FEATURE #2048: prepare routes for ACL, add some more permissions
This commit is contained in:
@@ -21,9 +21,12 @@
|
||||
</div>
|
||||
|
||||
@if ($historySize > 0)
|
||||
<div class="columns text-right col-lg-6">
|
||||
<a class="btn btn-secondary" href="{{route('content.history', ['id' => $page->id])}}">@lang('admin/contents.showHistory', ['count' => $historySize])</a>
|
||||
</div>
|
||||
@can('viewHistory', $page)
|
||||
<div class="columns text-right col-lg-6">
|
||||
<a class="btn btn-secondary"
|
||||
href="{{route('content.history', ['id' => $page->id])}}">@lang('admin/contents.showHistory', ['count' => $historySize])</a>
|
||||
</div>
|
||||
@endcan
|
||||
@endif
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user