@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ $pageTitle }}

@if(!empty($isCourseNotice) and $isCourseNotice)
@else
@endif
@can('admin_noticeboards_send') @endcan
@if(!empty($isCourseNotice) and $isCourseNotice) @endif @if(!empty($isCourseNotice) and $isCourseNotice) @else @endif @foreach($noticeboards as $noticeboard) @if(!empty($isCourseNotice) and !empty($noticeboard->webinar)) @endif @endforeach
{{ trans('admin/main.title') }}{{ trans('admin/main.course') }}{{ trans('notification.sender') }} {{ trans('site.message') }}{{ trans('update.color') }}{{ trans('admin/main.type') }}{{ trans('admin/main.created_at') }} {{ trans('admin/main.actions') }}
{{ $noticeboard->title }} @if(!empty($noticeboard->webinar)) {{ $noticeboard->webinar->id }}-{{ truncate($noticeboard->webinar->title,32) }} @endif @if(!empty($isCourseNotice)) {{ $noticeboard->creator ? $noticeboard->creator->full_name : '-' }} @else {{ $noticeboard->sender }} @endif @if(!empty($isCourseNotice) and $isCourseNotice) {{ trans('update.course_noticeboard_color_'.$noticeboard->color) }} @else {{ trans('admin/main.notification_'.$noticeboard->type) }} @endif {{ dateTimeFormat($noticeboard->created_at,'j M Y | H:i') }} @can('admin_noticeboards_edit') @endcan @can('admin_notifications_delete') @if(!empty($isCourseNotice)) @include('admin.includes.delete_button',['url' => getAdminPanelUrl("/course-noticeboards/{$noticeboard->id}/delete"),'btnClass' => '']) @else @include('admin.includes.delete_button',['url' => getAdminPanelUrl("/noticeboards/{$noticeboard->id}/delete"),'btnClass' => '']) @endif @endcan
@endsection @push('scripts_bottom') @endpush