@extends('backend.layouts.app') @section('title', \App\Http\Helpers\MenuHelper::getPageTitle()) @section('content')
| # | Title | Category | Translations | Status | Actions | |
|---|---|---|---|---|---|---|
| {{ ($downloads->currentPage() - 1) * $downloads->perPage() + $loop->iteration }} | {{ $download->download_title ?? '-' }} | {{ $categories[$download->download_category] ?? $download->download_category ?? '-' }} | @if ($download->translations_count > 0) {{ $download->translations_count }} language(s) @else - @endif | @php $eff = $download->effective_status; $effBadge = [ 'LIVE' => 'bg-success-50 text-success-600 dark:bg-success-500/10 dark:text-success-400', 'SCHEDULED' => 'bg-warning-50 text-warning-600 dark:bg-warning-500/10 dark:text-warning-400', 'EXPIRED' => 'bg-error-50 text-error-600 dark:bg-error-500/10 dark:text-error-400', 'INACTIVE' => 'bg-error-50 text-error-600 dark:bg-error-500/10 dark:text-error-400', 'ARCHIVED' => 'bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400', ][$eff] ?? 'bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400'; @endphp {{ ucfirst(strtolower($eff)) }} @if($download->publish_start || $download->publish_end) {{ $download->publish_start?->format('d/m/Y H:i') ?? '—' }} → {{ $download->publish_end?->format('d/m/Y H:i') ?? '—' }} @endif | ||
No documents foundClick "Create New" to add your first entry. |
||||||