@extends('theme::layout') @section('title', $bulletin->name) @section('content')
{{-- Back link --}}
← Back to Bulletins
{{-- Cover image --}} @if($bulletin->cover_image)
{{ $bulletin->name }}
@else
📄
@endif
{{-- Type badge --}} {{ $bulletin->type === 'week' ? 'Weekly Bulletin' : 'Monthly Bulletin' }}

{{ $bulletin->name }}

{{-- Period --}}

@if($bulletin->type === 'week' && $bulletin->week) Week {{ $bulletin->week }} — {{ $bulletin->year }} @elseif($bulletin->type === 'month' && $bulletin->month) {{ \Carbon\Carbon::create($bulletin->year, $bulletin->month)->format('F Y') }} @else {{ $bulletin->year }} @endif

{{-- Download / View button --}} @if($bulletin->path) @else

No file attached to this bulletin.

@endif
{{-- Related bulletins --}} @if($related->count())

More from {{ $bulletin->year }}

@endif
@endsection