@extends('admin.layouts.app') @section('panel')
@forelse ($leagues as $league) @empty @endforelse
@lang('Name') @lang('Short Name') @lang('Slug') @lang('Category') @lang('Status') @lang('Action')
@lang('image')
{{ __($league->name) }}
{{ __($league->short_name) }} {{ $league->slug }} {{ __(@$league->category->name) }} @php echo $league->statusBadge @endphp @php $league->image_with_path = getImage(getFilePath('league') . '/' . $league->image, getFileSize('league')); @endphp
@if ($league->status == Status::DISABLE) @else @endif
{{ __($emptyMessage) }}
@if ($leagues->hasPages()) @endif
{{-- Create or Update Modal --}} @endsection @push('breadcrumb-plugins') @endpush @push('script-lib') @endpush @push('script') @endpush