@extends( ($theme =="white") ? 'layouts.white_theme': ( ($theme =="red") ? 'layouts.red_theme': (($theme =="green") ? 'layouts.green_theme': (($theme =="black") ? 'layouts.black_theme': ( ($theme =="blue") ?'layouts.blue_theme': 'layouts.yellow_theme' )))) ) @section('content')

{{ __('Announcements') }}

@include('common.demo') @include('common.errors')
@if($show_add_button) {{__('Add')}} @endif
@if (!count($announcements))

{{ __('No Announcements found') }} !!

{{--

{{ __('Sorry we cant find any data, to get rid of this message, make at least 1 entry') }}.

--}} {{ __('Create new One') }}
@else @if($show_edit_button || $show_delete_button) @endif @foreach($announcements as $announcement) @if (($announcement->is_published) == true) @else @endif @if($show_edit_button || $show_delete_button) @endif @endforeach
{{ __('Title') }} @if($sort_order =='asc') @else @endif {{ __('Announcement') }} @if($sort_order =='asc') @else @endif {{ __('Published') }} @if($sort_order =='asc') @else @endif
{{$announcement->title}} {!! strip_tags($announcement->announcement) !!}. {{ __('Yes') }}{{ __('No') }} @if($show_edit_button) @endif @if($show_delete_button)
@method('DELETE') @csrf
@endif

@endif
@endsection