Details
-
{{ $show['overview'] }}
+
{{ $episode['overview'] ?? $season['overview'] ?? $show['overview'] }}
-
@@ -131,9 +131,20 @@
-
Cast:
- @foreach($show['cast'] as $actor)
- {{ $actor['name'] }} @if(!$loop->last), @endif
- @endforeach
+ @if ($episode && !empty($episode['cast']))
+ @foreach($episode['cast'] as $actor)
+ {{ $actor['name'] }} @if(!$loop->last), @endif
+ @endforeach
+ @elseif ($season && !empty($season['cast']) && !$is_show_page)
+ @foreach($season['cast'] as $actor)
+ {{ $actor['name'] }} @if(!$loop->last), @endif
+ @endforeach
+ @else
+ @foreach($show['cast'] as $actor)
+ {{ $actor['name'] }} @if(!$loop->last), @endif
+ @endforeach
+ @endif
+
-
Creator:
@@ -143,16 +154,26 @@
@endforeach
- @unless (empty($show['crew']['producers']))
-
+ @if (($episode && !empty($episode['crew']['producers'])) || ($season && !empty($season['crew']['producers'])) || empty($show['crew']['producers']))
-
Producer:
+ @if ($episode && !empty($episode['crew']['producers']))
+ @foreach($episode['crew']['producers'] as $actor)
+ {{ $actor['name'] }}@if(!$loop->last), @endif
+ @endforeach
+ @elseif ($season && !empty($season['crew']['producers']) && !$is_show_page)
+ @foreach($season['crew']['producers'] as $actor)
+ {{ $actor['name'] }}@if(!$loop->last), @endif
+ @endforeach
+ @else
@foreach($show['crew']['producers'] as $actor)
{{ $actor['name'] }}@if(!$loop->last), @endif
- @endforeach
-
- @endunless
+ @endforeach
+ @endif
+
+
+ @endif