@extends('manager.layouts.app') @section('page_title') {{ $page_title ?? 'Noticeboard Details' }} @endsection @section('content')
{{-- Header --}}

{{ $data->title }}

{{ $data->is_active ? 'Active' : 'Inactive' }}
@can('manager_master-data_news-event-list') {{ $url_text ?? 'Back to List' }} @endcan

{{-- Event Info --}}
Author: {{ $data->author }}
Category: {{ $data->category }}
Publish Date: {{ $data->published_at ? \Carbon\Carbon::parse($data->published_at)->format('d M Y') : '-' }}
Status: {{ $data->is_active ? 'Active' : 'Inactive' }}
Description:
{!! $data->description !!}
{{-- Images --}}
@if($data->avatar) Author Avatar @else No avatar uploaded @endif
@if($data->cover_image) Cover Image @else No cover image uploaded @endif
@endsection