This commit is contained in:
2025-08-16 12:45:17 +03:00
parent 6f8fe9626c
commit 11dabec67e
2 changed files with 10 additions and 8 deletions
@@ -827,8 +827,8 @@ class MovieProcessingService implements ProcessingInterface
if (!empty($tmdbPerson)) {
$knownForDepartment = $tmdbPerson['known_for_department'] ?? null;
if ($knownForDepartment !== null) {
$knownForDepartment = trim($knownForDepartment, '"');
if ($knownForDepartment) {
$knownForDepartment = json_encode($knownForDepartment);
}
$personData = array_merge($personData, [
+8 -6
View File
@@ -73,12 +73,14 @@
<p class="tagline text-muted mb-3">{{ $movie->tagline }}</p>
@endif
<div class="directors mb-3">
<span class="text-muted">Directed by</span>
@foreach($movie->director as $director)
<a href="#" class="text-decoration-none">{{ $director->name }}</a>@if(!$loop->last), @endif
@endforeach
</div>
@if($movie->director->count())
<div class="directors mb-3">
<span class="text-muted">Directed by</span>
@foreach($movie->director as $director)
<a href="#" class="text-decoration-none">{{ $director->name }}</a>@if(!$loop->last), @endif
@endforeach
</div>
@endif
<div class="overview mb-4">
<h5 class="mb-2">Overview</h5>