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

@@ -1,6 +1,6 @@
{% extends 'base.html.twig' %}
{% block title %}{{ document.getClassShort }}: {{ document.getTitle }} - {% trans %}title_history{% endtrans %}{% endblock %}
{% block title %}{{ ('documentType_' ~ document.classShort)|trans }}: {{ document.getTitle }} - {% trans %}title_history{% endtrans %}{% endblock %}
{% block subtitle %}#{{ document.id }}: {{ document.getTitle }} - {% trans %}title_history{% endtrans %} {% endblock %}
{% block body %}