mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-3138
This commit is contained in:
@@ -25,18 +25,7 @@
|
||||
<input type="hidden" name="basrec" value="{{basket_element.getRecord(app).get_serialize_key()}}"/>
|
||||
</form>
|
||||
|
|
||||
{% if basket_element.getBasket().getValidation() %}
|
||||
<button class="comment_button btn btn-mini btn-inverse">
|
||||
<i class="fa fa-comment icon-white" aria-hidden="true"></i>
|
||||
{% set n = 0 %}
|
||||
{% for validationData in basket_element.getValidationDatas() %}
|
||||
{% if validationData.getNote() %}
|
||||
{% set n = n+1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{{ n }}
|
||||
</button>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
|
Reference in New Issue
Block a user