feat: add localization support for unknown production date in music productions module

This commit is contained in:
Ümit Tunç
2026-05-20 23:22:06 +03:00
parent 15896248c4
commit 34f790cc10
3 changed files with 10 additions and 1 deletions
@@ -121,7 +121,14 @@
</figure>
<div class="card-body p-7">
<div class="post-header">
<div class="{{ $variant['label_class'] }}">{{ $categoryLabel }}</div>
<div class="d-none {{ $variant['label_class'] }}">
@if($production->production_date)
{{ $production->production_date->format('d.m.Y') }}
@else
{{ __('music_productions.production_date_unknown') }}
@endif
</div>
<h3 class="!mb-0 truncate" title="{{ $production->translate('title') }}">{{ $production->translate('title') }}</h3>
</div>
<!-- /.post-header -->