@extends('layouts.side_bar') @section('content')

Notices

Manage course announcements and notices

Post New Notice
@if (session('success')) @endif
@if ($notices->count() > 0) @foreach ($notices as $notice)
{{ $notice->title }}
@if ($notice->is_pinned) 📌 Pinned @endif {{ ucfirst($notice->priority) }} Priority
{{ $notice->course->title }} - {{ $notice->subject->name }}
Edit
@csrf @method('DELETE')

{{ Str::limit($notice->content, 200) }}

Posted: {{ $notice->created_at->format('M d, Y \a\t h:i A') }}
@endforeach @else

No notices posted yet

Post Your First Notice
@endif
{{ $notices->links() }}
@endsection