@extends('user::layouts.backend-master') @section('breadcrumb_title', 'View Blog Category') @section('content')
| Name | {{ $blogCategory->name }} |
|---|---|
| Slug | {{ $blogCategory->slug }} |
| Description | {{ $blogCategory->description ?: 'No description' }} |
| Parent Category | @if ($blogCategory->parent) {{ $blogCategory->parent->name }} @else None (Top Level) @endif |
| Language | {{ $blogCategory->language->name ?? 'Unknown' }} |
| Sort Order | {{ $blogCategory->sort_order }} |
| Is Featured | {{ $blogCategory->getMeta('is_featured') ? 'Yes' : 'No' }} |
| Created At | {{ customDateTimeFormate($blogCategory->created_at) }} |
| Updated At | {{ customDateTimeFormate($blogCategory->updated_at) }} |
| Title | Status | Actions |
|---|---|---|
| {{ $blog->title }} | @php $statusClass = match ($blog->status) { 'published' => 'bg-green-100 text-green-800', 'draft' => 'bg-gray-100 text-gray-800', 'scheduled' => 'bg-blue-100 text-blue-800', 'archived' => 'bg-yellow-100 text-yellow-800', 'trash' => 'bg-red-100 text-red-800', default => 'bg-gray-100 text-gray-800', }; @endphp {{ ucfirst($blog->status) }} | @include('backend::components.show-button', [ 'route' => route('admin.blog.show', $blog->id), ]) @include('backend::components.edit-button', [ 'route' => route('admin.blog.edit', $blog->id), ]) |