{% if documents[0].directory is not defined %}{% set nodirectorylink = true %}{% endif %} {% set slicelimit = (limit is defined)? limit : null %} {% set counter = 0 %} {% if documents|length > 0 %}
| {% if notype is not defined %} {% trans %}title_type{% endtrans %} {% endif %} | {% endif %}{% trans %}title_title{% endtrans %} | {% if noauthor is not defined %}{% trans %}title_author{% endtrans %} / {% endif %}{% trans %}title_date{% endtrans %} | {% if noaction is not defined %}{% trans %}title_actions{% endtrans %} | {% endif %}
|---|---|---|---|
|
{% if noicon is not defined %}
{% set groupLogo = 'img/nologo.png' %}
{% if i.mainGroup %}
{% if i.mainGroup.imageSize != 0 %}
{% set groupLogo = 'uploads/groups/' ~ i.mainGroup.imageName %}
{% endif %}
{% endif %}
N°: #{{i.id}} {% endif %} |
{% endif %}
{{i.title | u.truncate(50, '...')}}
{% if notype is defined %}
N°: #{{i.id}} {% endif %} {% if i.status is defined %} {% trans %}title_status{% endtrans %}: {{ i.status|trans }} {% endif %} {% if i.removingDate is defined %} {% trans %}title_can_be_removed_at{% endtrans %}: {{ i.removingDate|date('_datetime.format'|trans) }} {% endif %} {% if i.type is defined and i.type is not null %} {% trans %}title_type{% endtrans %}: {{ i.type|trans }} {% endif %} {% if i.until is defined %} {% trans %}title_until{% endtrans %}: {{ i.until|date('_datetime.format'|trans) }} {% endif %} {% if i.numberplate is defined and i.numberplate is not null %} {% trans %}title_numberplate{% endtrans %}: {{ i.numberplate }} {% endif %} {% if i.directory is defined and nodirectoryinfo is not defined %} {% trans %}title_directory{% endtrans %}: {{ i.directory.firstname | u.truncate(2, '.')}} {{ i.directory.lastname }} {% if i.directory.dead %}, {% trans %}title_dead{% endtrans %}{% endif %} {% endif %} {% if i.user is defined %} {% trans %}title_user{% endtrans %}: {{ i.user.firstname | u.truncate(2, '.')}} {{ i.user.lastname }} {% endif %} {% if i.amountMoney is defined %} {% trans %}title_amount{% endtrans %}: {{ i.amountMoney ? i.amountMoney ~ ' ' ~'currency_symbol'|trans : 'value_no_value'|trans }} {{ i.amountMoney == i.amountMoneySettled ? '✅' : '❌'}} {% endif %} {% if i.amountTime is defined %} {% trans %}title_hours{% endtrans %}: {{ i.amountTime ? i.amountTime ~ 'h' : 'value_no_value'|trans}} {{ i.amountTime == i.amountTimeSettled ? '✅' : '❌'}} {% endif %} {% if i.amountCommunityWork is defined %} {% trans %}title_community_work{% endtrans %}: {{ i.amountCommunityWork ? i.amountCommunityWork ~ 'h' : 'value_no_value'|trans}} {{ i.amountCommunityWork == i.amountCommunityWorkSettled ? '✅' : '❌'}} {% endif %} {% if i.accessorySentence is defined and i.accessorySentence is not null %} {% trans %}title_accessorySentence{% endtrans %} : {{ 'value_yes'|trans}} {% endif %} |
{% if noauthor is not defined %}
{{i.creator.firstname | u.truncate(2, '.')}} {{i.creator.lastname}}, {{i.creator.mainGroup ? i.creator.mainGroup.shortname : 'value_no_group'|trans}} {% endif %} {{i.createdAt |date('_datetime.format'|trans)}} |
{% if noaction is not defined %}
{% include '_cells/documentActions.html.twig' with {'document': i} %} | {% endif %}
{% trans %}no_data{% endtrans %}
{% endif %}