@extends('layouts.admin') @section('title', 'Contents') @section('content')

Contents

Add Content
@forelse ($ringtones as $ringtone)

{{ $ringtone->title }}

{{ $ringtone->content_type_label }}

{{ $ringtone->category?->name ?? '-' }}

Uploaded by: {{ $ringtone->uploader?->name ?? 'Admin' }}

Approval: {{ $ringtone->approval_status_label }}

Downloads: {{ number_format($ringtone->downloads) }}

{{ $ringtone->is_active ? 'Active' : 'Inactive' }}
File: {{ $ringtone->file_path }} @if ($ringtone->isAudioType() && $ringtone->has_iphone_file) M4R: {{ $ringtone->iphone_file_path }} @else

M4R: Not generated

@endif
@if ($ringtone->isAudioType())
@elseif ($ringtone->isImageType()) {{ $ringtone->title }} @elseif ($ringtone->isVideoType()) @endif
@if ($ringtone->approval_status !== 'approved')
@csrf @method('PATCH')
@endif @if ($ringtone->approval_status !== 'rejected')
@csrf @method('PATCH')
@endif
@csrf @method('PATCH')
Edit
@csrf @method('DELETE')
@empty
No content found.
@endforelse
@include('admin.partials.pagination', ['paginator' => $ringtones]) @endsection