Work On Criminal

This commit is contained in:
Xbird
2022-03-27 16:30:05 +00:00
parent eb14e392a0
commit c914fe0b89
12 changed files with 1155 additions and 1174 deletions

View File

@@ -71,11 +71,7 @@
{% if i.user is defined %}
<br /><small>{% trans %}title_user{% endtrans %}:</small>
<small><a href="{{ path('user_view', {'id': i.user.id}) }}" >{{ i.user.firstname | u.truncate(2, '.')}} {{ i.user.lastname }}</a></small>
{% endif %}
{% if i.article is defined %}
<br /><small>{% trans %}title_article{% endtrans %}:</small>
<small data-bs-toggle="tooltip" data-placement="top" title="{{ i.article }}">{{ i.article| u.truncate(10, '...') }}</small>
{% endif %}
{% endif %}
{% if i.amountMoney is defined %}
<br /><small>{% trans %}title_amount{% endtrans %}:</small>
<small>{{ i.amountMoney ? i.amountMoney ~ ' ' ~'currency_symbol'|trans :'value_no_value'|trans }}</small>

View File

@@ -1,17 +1,10 @@
<h3>{{ document.article }}</h3>
<ul>
<li>{% trans %}title_amount{% endtrans %} : {{ document.amountMoney }} {{'currency_symbol'|trans}}</li>
<li>{% trans %}title_hours{% endtrans %} : {{ document.amountTime }} {{ 'title_hours'| trans }}</li>
</ul>
{% if document.accessorySentence %}
<div class="p-2">
<h4>{% trans %}title_accessorySentence{% endtrans %}</h4>
{{ document.accessorySentence | raw }}
</div>
{% endif %}
{% if document.content %}
<div class="p-2">
<h4>{% trans %}title_informations{% endtrans %}</h4>
{{ document.content | raw }}
</div>
{% endif %}
<hr>
<ul>
<li>{% trans %}title_amount{% endtrans %} : {{ document.amountMoney }} {{'currency_symbol'|trans}}</li>
<li>{% trans %}title_hours{% endtrans %} : {{ document.amountTime }} {{ 'title_hours'| trans }}</li>
</ul>