@extends('layouts.admin') @section('content') @php $statusLabel = str($record->status ?? 'draft')->replace('_', ' ')->title()->toString(); $statusTone = $record->status === 'published' ? 'is-resolved' : ($record->status === 'archived' ? 'is-spam' : 'is-new'); $path = $record->image?->file_path; $imageUrl = null; if ($path) { $imageUrl = str($path)->startsWith(['http://', 'https://', '/']) ? $path : (str($path)->startsWith(['storage/', 'images/']) ? asset($path) : asset('storage/'.$path)); } @endphp @include('admin.partials.submission-detail-styles')
All events

Event details

{{ $record->title_en ?: 'Event #'.$record->id }}

Record #{{ $record->id }} /events/{{ $record->slug }}

{{ $statusLabel }} Edit record

English

{{ $record->title_en }}

English
@if ($record->summary_en)

{{ $record->summary_en }}

@endif {{-- Body HTML is sanitised on save (App\Support\HtmlSanitizer). --}}
{!! $record->content_en ?: '

No English story provided.

' !!}

Assamese

{{ $record->title_as ?: 'অসমীয়া শিৰোনাম' }}

অসমীয়া
@if ($record->summary_as)

{{ $record->summary_as }}

@endif
{!! $record->content_as ?: '

অসমীয়াত কোনো বিষয়বস্তু দিয়া হোৱা নাই।

' !!}
@endsection