{% if basket.getValidation() %}
{{ basket.getValidation().getValidationString(app, app['phraseanet.user']) }}
{% for validation_data in basket_element.getValidationDatas() %}
{% if basket.getValidation().getParticipant(app['phraseanet.user'], app).getCanSeeOthers() or validation_data.getParticipant().getUser(app) == app['phraseanet.user'] %}
{% if validation_data.getAgreement() == true %}
{% set classuser = 'agree' %}
{% elseif validation_data.getAgreement() is null %}
{% set classuser = '' %}
{% else %}
{% set classuser = 'disagree' %}
{% endif %}
{% set participant = validation_data.getParticipant().getUser(app) %}
- {{participant.get_display_name()}}
{% endif %}
{% endfor %}
{% endif %}
{% if basket_element and basket_element.getBasket().getValidation() and basket.getValidation().getParticipant(app['phraseanet.user'], app).getCanAgree() %}
{% set agreement = basket_element.getUserValidationDatas(app['phraseanet.user'], app).getAgreement() %}
{% trans 'validation:: OUI' %}
|
{% trans 'validation:: NON' %}
|
{% endif %}
{% endif %}