feat: add localization support for unknown production date in music productions module
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user