@extends('admin.layout') @php $selLang = \App\Models\Language::where('code', request()->input('language'))->first(); @endphp @if(!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
{{__('Announcement Popups')}}
@if (!empty($langs)) @endif
{{__('Add Popup')}}
@if (count($popups) == 0)

{{__('NO POPUP FOUND')}}

@else
All {{__('Activated Popups')}} {{__('will be shown in website according to')}} {{__('Serial Number')}}
@foreach ($popups as $key => $popup) @endforeach
{{__('Image')}} {{__('Name')}} {{__('Status')}} {{__('Type')}} {{__('Serial Number')}} {{__('Actions')}}
@if (!empty($popup->image)) @elseif (!empty($popup->background_image)) @endif
{{strlen($popup->name) > 20 ? mb_substr($popup->name,0,20,'utf-8') . '...' : $popup->name}}
@csrf

{{__('Type')}} - {{$popup->type}}

{{$popup->serial_number}}
@csrf
@endif
@endsection