@extends('common::layouts.master') @section('ads-aria-expanded') aria-expanded="true" @endsection @section('ads-show') show @endsection @section('ads') active @endsection @section('ads_active') active @endsection @section('content')
| # | {{ __('ad_name') }} | {{ __('ad_size') }} | {{ __('ad_type') }} | {{ __('ad_url') }} | {{ __('ad_image') }} | @if(Sentinel::getUser()->hasAccess(['ads_write']) || Sentinel::getUser()->hasAccess(['ads_delete']) ){{ __('options') }} | @endif
|---|---|---|---|---|---|---|
| {{ $ad->id }} | {{ $ad->ad_name }} | {{ $ad->ad_size }} | {{ $ad->ad_type }} | {{ $ad->ad_url }} |
@if(@$ad->ad_type == 'image')
@if(isFileExist(@$ad->adImage, $result = @$ad->adImage->thumbnail))
@endif
@else
@endif
|
@if(Sentinel::getUser()->hasAccess(['ads_write']) || Sentinel::getUser()->hasAccess(['ads_delete']) )
@if(Sentinel::getUser()->hasAccess(['ads_write'])) {{ __('edit') }} @endif @if(Sentinel::getUser()->hasAccess(['ads_delete'])) {{ __('delete') }} @endif | @endif