@if ($showFilters) @include('notices.filters') @endif
@if($showActions) @lang('app.delete') @endif
@if(user_can('Delete Notice Board')) @endif @if (user_can('Show Notice Board')) @else @endif @if (user_can('Update Notice Board') || user_can('Delete Notice Board')) @endif @forelse ($notices as $noticeboard) @if(user_can('Delete Notice Board')) @endif @if (user_can('Show Notice Board')) @else @endif @if (user_can('Update Notice Board') || user_can('Delete Notice Board')) @endif @empty @endforelse
@lang('modules.notice.title') @lang('modules.notice.roles') @lang('modules.notice.title') @lang('app.dateTime') @lang('app.action')
{{ $noticeboard->title }} @foreach($noticeboard->roles as $role) {{ $role->display_name }} @endforeach {{ $noticeboard->title }} {{ $noticeboard->created_at->timezone(timezone())->translatedFormat('d M Y, h:i A') }} @if(user_can('Update Notice Board')) @lang('app.update') @endif @if(user_can('Delete Notice Board')) @endif
{{ $notices->links() }}
{{ __("modules.notice.editNotice") }} @if ($notice) @livewire('forms.editNotice', ['notice' => $notice], key(str()->random(50))) @endif {{ __('Close') }} {{ __("modules.notice.viewNotice") }} @if ($notice) @livewire('forms.showNotice', ['notice' => $notice], key(str()->random(50))) @endif {{ __('Close') }} @lang('modules.notice.deleteNotice')? @lang('messages.deleteMessage') {{ __('Cancel') }} @if ($notice) {{ __('Delete') }} @endif @lang('modules.notice.deleteNotice')? @lang('messages.deleteMessage') {{ __('Cancel') }} {{ __('Delete') }}