@extends('admin.layouts.app') @section('title', $anime->title) @section('page-title', $anime->title) @section('content')
Animelere Dön
Düzenle
{{-- ── Sol: Sezonlar & Bölümler ── --}}
@forelse($anime->seasons as $season)
{{ $season->season_number }}. Sezon @if($season->title) — {{ $season->title }} @endif @if($season->mal_id) MAL: {{ $season->mal_id }} @endif
Bölüm Ekle
@csrf @method('DELETE')
@if($season->episodes->count() > 0)
@foreach($season->episodes as $ep) @endforeach
Bölüm Başlık Durum İzlenme
{{ str_pad($ep->episode_number,2,'0',STR_PAD_LEFT) }} {{ $ep->title ?: '—' }} @if($ep->is_published) Yayında @else Taslak @endif {{ number_format($ep->view_count) }}
@else

Henüz bölüm yok.

Bölüm Ekle
@endif
@empty
Henüz sezon eklenmemiş
@endforelse {{-- İzin Ayarları --}} @if(isset($permissions) && count($permissions))
Bu Anime İçin İzin Ayarları
— Global ayarları override eder
@csrf @foreach($permissions as $perm) @php $current = $contentPerms[$perm->key] ?? 'free'; @endphp
{{ $perm->label }}
@if($perm->description)
{{ $perm->description }}
@endif
@endforeach
@endif
{{-- ── Sağ: Anime Bilgileri ── --}}
@if($anime->coverUrl) {{ $anime->title }} @endif
{{ $anime->title }}
@if($anime->title_en)
{{ $anime->title_en }}
@endif
{{ strtoupper($anime->type) }} {{ $anime->is_published?'Yayında':'Taslak' }} @if($anime->is_featured) Öne Çıkan @endif
Detaylar
@foreach([ ['Durum', $anime->status, ''], ['Yayın Yılı', $anime->release_year ?: '—', ''], ['Stüdyo', $anime->studio ?: '—', ''], ['Puan', $anime->rating ?: '—', ''], ['MAL ID', $anime->mal_id ?: '—', ''], ['Türler', $anime->genres->pluck('name')->join(', ') ?: '—', ''], ] as [$lbl, $val])
{{ $lbl }} {{ $val }}
@endforeach
{{-- Sezon Ekle Modal --}} @endsection