@extends('backend.layouts.app') @section('title', \App\Http\Helpers\MenuHelper::getPageTitle()) @section('content') @include('backend.module._index-reset-button') @php $input = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-10 w-full rounded-lg border border-gray-300 bg-transparent px-4 py-2 text-sm text-gray-800 placeholder:text-gray-400 focus:ring-3 focus:outline-hidden dark:border-gray-700 dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30'; $select = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-10 rounded-lg border border-gray-300 bg-transparent px-4 py-2 text-sm text-gray-800 focus:ring-3 focus:outline-hidden dark:border-gray-700 dark:bg-gray-900 dark:text-white/90'; $th = 'text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400'; $active = filled($search ?? null) || filled($cat ?? null) || filled($year ?? null) || filled($speaker ?? null); @endphp
| # | Title | Speaker | Category | Date | Status | Sort | Actions |
|---|---|---|---|---|---|---|---|
| @if ($cat) @if (count($speeches) > 1) @else @endif @else @endif {{ ($speeches->currentPage() - 1) * $speeches->perPage() + $loop->iteration }} | {{ $speech->speech_title ?? '-' }} @if ($speech->translations_count > 0) {{ $speech->translations_count }} translations @endif | @if ($speech->speech_speaker_category) {{ $speakers[$speech->speech_speaker_category] ?? $speech->speech_speaker_category }} @else - @endif | {{ $categories[$speech->speech_category] ?? $speech->speech_category ?? '-' }} | {{ $speech->speech_date?->format('d/m/Y') ?? '-' }} | @php $badge = match ($speech->speech_status) { 'PUBLISHED' => 'bg-success-50 text-success-600 dark:bg-success-500/10 dark:text-success-400', 'DRAFT' => 'bg-warning-50 text-warning-600 dark:bg-warning-500/10 dark:text-warning-400', default => 'bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-300', }; @endphp {{ $statuses[$speech->speech_status] ?? $speech->speech_status ?? '-' }} | {{ $speech->speech_sorting ?? 0 }} | |
No speeches foundClick "Create" to add your first speech. |
|||||||