@extends('user::layouts.backend-master') @section('breadcrumb_title', 'View Blog Category') @section('content')

{{ $blogCategory->name }}

Edit Back to Categories

Category Details

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) }}
@if ($blogCategory->children->count() > 0)
Child Categories
@foreach ($blogCategory->children as $child) @endforeach
Name Blogs Actions
{{ $child->name }} {{ $child->contents->count() }} View Edit
@endif @if ($blogCategory->contents->count() > 0)

Blogs in this Category

@foreach ($blogCategory->contents as $blog) @endforeach
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), ])
@endif
@if ($blogCategory->getFirstMediaUrl('featured'))

Featured Image

{{ $blogCategory->name }}
@endif
@endsection