mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
20 lines
998 B
Twig
20 lines
998 B
Twig
{% for validationDatas in basket_element.getValidationDatas() %}
|
|
{% if basket_element.getBasket().getValidation().getParticipant(app.getAuthenticatedUser()).getCanSeeOthers() or validationDatas.getParticipant().getUser() == app.getAuthenticatedUser() %}
|
|
|
|
<li>
|
|
<div class="validate-icon">
|
|
{% if validationDatas.getAgreement() == true %}<span class="icomoon icon-agree"></span>{% endif %}
|
|
{% if validationDatas.getAgreement() == false and validationDatas.getAgreement() is not null %}<span class="icomoon icon-disagree"> {{ validationDatas.getAgreement() }}</span>{% endif %}
|
|
</div>
|
|
<div class="validate-info">
|
|
<h3>
|
|
{{ validationDatas.getParticipant().getUser().getDisplayName() }}
|
|
</h3>
|
|
{% if validationDatas.getNote() != '' %}
|
|
<p style="text-align:left;">{{ 'validation:: note' | trans }} : {{ validationDatas.getNote()|nl2br }} </p>
|
|
{% endif %}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|