@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content') {{ trans('panel.new_noticeboard') }} {{ csrf_field() }} {!! trans('public.title') !!} @error('title') {{ $message }} @enderror @if(!empty($isCourseNotice) and $isCourseNotice) {!! trans('product.course') !!} {{ trans('panel.select_course') }} @foreach($webinars as $webinar) Paid Plugin @endforeach @error('webinar_id') {{ $message }} @enderror {!! trans('update.color') !!} {{ trans('update.select_a_color') }} @foreach(\App\Models\CourseNoticeboard::$colors as $color) color == $color) selected @endif>{{ trans('update.course_noticeboard_color_'.$color) }} @endforeach @error('color') {{ $message }} @enderror @else {!! trans('admin/main.type') !!} {{ trans('admin/main.select_type') }} @if($authUser->isOrganization()) @foreach(\App\Models\Noticeboard::$types as $type) type == $type) selected @endif>{{ trans('public.'.$type) }} @endforeach @else webinar_id)) selected @endif>{{ trans('update.all_students') }} webinar_id)) selected @endif>{{ trans('update.course_students') }} @endif {{ trans('update.new_notice_hint') }} @error('type') {{ $message }} @enderror @if($authUser->isTeacher()) {!! trans('product.course') !!} {{ trans('panel.select_course') }} @foreach($webinars as $webinar) webinar_id == $webinar->id) selected @endif>{{ $webinar->title }} @endforeach @error('webinar_id') {{ $message }} @enderror @endif @endif {{ trans('site.message') }} {{ (!empty($noticeboard)) ? $noticeboard->message :'' }} @error('message') {{ $message }} @enderror {{ trans('notification.post_notice') }} @endsection @push('scripts_bottom') @endpush
{{ trans('update.new_notice_hint') }}