{% extends "lightbox/index_layout.html.twig" %} {% import 'common/thumbnail.html.twig' as thumbnail %} {% block javascript %} {% endblock %} {% block stylesheet %} {% endblock %} {% block content %}
{% for basket in baskets_collection | sort | reverse%} {% if basket.isVoteBasket() %} {% set basket_length = basket.getElements().count() %} {% set counter = ( counter | default(0) ) + 1 %} {% if counter == 3 %}{% endif %} {% endif %} {% endfor %} {% for basket in baskets_collection | sort | reverse%} {% if not basket.isVoteBasket() %} {% set basket_length = basket.getElements().count() %} {% set counter = ( counter | default(0) ) + 1 %} {% set counter_length = baskets_collection | length %} {% if counter == 3 %}{% endif %} {% endif %} {% endfor %}

{{ 'Validations' | trans }}

{{ 'Voici vos validations en cours' | trans }}
{% if basket_length > 0%} {{thumbnail.format(basket.getElements().first().getRecord(app).get_thumbnail, 170, 170, '', true, false)}} {% endif %}

{{basket.getName()|e}}

{% if basket.isVoteFinished() %} {{ '(validation) session terminee' | trans }} {% elseif basket.isParticipant(app.getAuthenticatedUser()) and basket.getParticipant(app.getAuthenticatedUser()).getIsConfirmed() %} {{ '(validation) envoyee' | trans }} {% else %} {{ '(validation) a envoyer' | trans }} {% endif %}
({% trans with {'%basket_length%' : basket_length} %}%basket_length% documents{% endtrans %})
{{ basket.getDescription() }}
{{ basket.getValidationString(app, app.getAuthenticatedUser()) }}
{{ 'lightbox::See_more_feedback' | trans }}

{{ 'Paniers' | trans }}

{{ 'Voici vos paniers' | trans }}
{% if basket_length > 0%} {{thumbnail.format(basket.getElements().first().getRecord(app).get_thumbnail, 170, 170, '', true, false)}} {% endif %}

{{ basket.getName()|e}}

({% trans with {'%basket_length%' : basket_length} %}%basket_length% documents{% endtrans %})
{{ basket.getDescription() }}
{{ 'lightbox::see_more_basket' | trans }}
{% endblock %}