@extends('layouts.admin') @section('title', $title ?? 'Category List') @section('content')

{{ $title }}

Add New Category
Make a category inactive to remove it from the menu. This does not prevent binaries being matched into an appropriate category. Disable preview prevents ffmpeg being used for releases in the category.
@foreach($categorylist as $category) @endforeach
ID
Title
Parent Min Size Max Size Status Preview Actions
{{ $category->id }} {{ $category->title }} @if($category->parent) {{ $category->parent->title }} @else N/A @endif @if($category->minsizetoformrelease != 0)
{{ \Blacklight\utility\Utility::bytesToSizeString($category->minsizetoformrelease) }}
@else @endif
@if($category->maxsizetoformrelease != 0)
{{ \Blacklight\utility\Utility::bytesToSizeString($category->maxsizetoformrelease) }}
@else @endif
{{ $category->status == 1 ? 'Active' : 'Inactive' }} {{ $category->disablepreview == 1 ? 'Disabled' : 'Enabled' }}
@if(count($categorylist) == 0)
No categories found.
@endif
@push('scripts') @endpush @push('styles') @endpush @endsection