News: Show updated date besides "updated" state

This commit is contained in:
Igor Scheller 2023-07-30 17:42:03 +02:00 committed by Michael Weimann
parent 1c4c164c39
commit d9b93e4236
1 changed files with 2 additions and 2 deletions

View File

@ -70,14 +70,14 @@
{% if news.updated_at != news.created_at and not is_overview %}
<div class="d-flex align-items-center">
<div class="me-3">
{{ m.icon('clock') }} {{ news.created_at.format(__('Y-m-d H:i')) }}
{{ m.icon('clock') }} {{ news.updated_at.format(__('Y-m-d H:i')) }}
</div>
{{ __('news.updated') }}
</div>
{% endif %}
<div class="d-flex align-items-center">
<div class="me-3">
{{ m.icon('clock') }} {{ news.updated_at.format(__('Y-m-d H:i')) }}
{{ m.icon('clock') }} {{ news.created_at.format(__('Y-m-d H:i')) }}
</div>
<div class="me-3">