mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
44 lines
2.1 KiB
Twig
44 lines
2.1 KiB
Twig
|
|
<div class="PNB10" style="overflow-y: auto;overflow-x:hidden; bottom: 130px;">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr>
|
|
<td class="title title15">{% trans 'VALIDATION' %}</td>
|
|
<td class="report_wrapper;"><a class="report" href="#">{% trans 'lightbox::recaptitulatif' %}</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% if basket.getValidation() %}
|
|
<div>{{ basket.getValidation().getValidationString(user) }}</div>
|
|
<ul>
|
|
{% for choice in basket_element.getValidationDatas() %}
|
|
{% if choice.getAgreement() == true %}
|
|
{% set classuser = 'agree' %}
|
|
{% elseif choice.getAgreement() == null %}
|
|
{% set classuser = '' %}
|
|
{% else %}
|
|
{% set classuser = 'disagree' %}
|
|
{% endif %}
|
|
{% set participant = choice.getParticipant().getUser() %}
|
|
<li class="{% if participant.get_id() == user.get_id() %}me{% endif %} {{classuser}} userchoice">{{participant.get_display_name()}}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
<div class="PNB user_infos">
|
|
{% if basket_element and basket_element.getBasket().getValidation() %}
|
|
<div class="PNB choices">
|
|
<div style="height:60px;">
|
|
<div class="ui-corner-all big_box agree_{{basket_element.getId()}} agree {% if basket_element.getUserValidationDatas(user).getAgreement() == null %}not_decided{% endif %}">
|
|
<img src="/skins/lightbox/agree-big.png"/><span class="title15">{% trans 'validation:: OUI' %}</span>
|
|
</div>
|
|
</div>
|
|
<div style="height:60px;">
|
|
<div class="ui-corner-all big_box disagree_{{basket_element.getId()}} disagree {% if basket_element.getUserValidationDatas(user).getAgreement() == null %}not_decided{% endif %}">
|
|
<img src="/skins/lightbox/disagree-big.png"/><span class="title15">{% trans 'validation:: NON' %}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|