Fix untranslated document types

This commit is contained in:
Aurel
2023-03-28 13:02:44 +00:00
committed by Xbird
parent f955733afa
commit 2a0cbc101e
14 changed files with 574 additions and 561 deletions

View File

@@ -9,7 +9,7 @@
</div>
<div class="col-lg-4">
<h3>{% trans %}title_comment_belong_document{% endtrans %}</h3>
<p><a href="{{ path('document_view', {'id': comment.document.id}) }}" class="btn btn-primary btn-sm">{{ comment.document.getClassShort}} - {{comment.document.title}}</a></p>
<p><a href="{{ path('document_view', {'id': comment.document.id}) }}" class="btn btn-primary btn-sm">{{ ('documentType_' ~ comment.document.classShort)|trans }} - {{comment.document.title}}</a></p>
<p>{% trans %}title_author{% endtrans %} {{comment.creator.fullName}}, {{comment.creator.mainGroup.shortname}}</p>
<p>{% trans %}title_created_at{% endtrans %} {{comment.createdAt |date('_datetime.format'|trans)}}</p>
</div>