@can('massDelete', \App\Models\Banner::class)
|
@endcan
{!! $banner->title !!}
@unless ($banner->group)
{{ strtoupper(trans('app.draft')) }}
@endunless
{!! $banner->description !!}
|
|
{{ trans('app.group') . ': ' }}
@if ($banner->group)
{!! $banner->group->name !!}
@else
{!! trans('app.unspecified') !!}
@endif
{{ trans('app.columns') . ': ' }}{!! $banner->columns !!}
{{ trans('app.order') . ': ' }}{!! $banner->order !!}
{{ trans('app.link_label') . ': ' }}{!! $banner->link_label !!}
{{ trans('app.link') . ': ' }}{!! $banner->link !!}
|
{{ $banner->created_at->toFormattedDateString() }}
|
@can('update', $banner)
@endcan
@can('delete', $banner)
{!! Form::open(['route' => ['admin.appearance.banner.destroy', $banner->id], 'method' => 'delete', 'class' => 'data-form']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!}
{!! Form::close() !!}
@endcan
|
@endforeach