Add some reworks to Vision

This commit is contained in:
Xbird committed 2022-03-28 16:00:38 +00:00
1 parent c9ae3f5ab6
commit 4a9aa158f6
14 files changed
+1155 -1176

No files matched your search

+1 -5
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>