FEATURE: add permissions into widgets and fix few bugs
This commit is contained in:
@@ -21,13 +21,10 @@
|
||||
<li>@lang('admin/widgets.updatedAt'): @date($widgetArea->updated_at)</li>
|
||||
</ul>
|
||||
|
||||
<a href="{{route('widgetareas.edit', ['id' => $widgetArea->id])}}" class="btn btn-secondary col-sm-12">@lang('admin/widgetAreas.editButton')</a>
|
||||
|
||||
@if (!empty($associatedWidgetIds))
|
||||
<h3>@lang('admin/widgets.preview')</h3>
|
||||
|
||||
@widgetArea($widgetArea->code)
|
||||
@endif
|
||||
@can('update', $widgetArea)
|
||||
<a href="{{route('widgetareas.edit', ['id' => $widgetArea->id])}}"
|
||||
class="btn btn-secondary col-sm-12">@lang('admin/widgetAreas.editButton')</a>
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
Reference in New Issue
Block a user