|
|
@ -134,7 +134,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% if not (task.comments is empty or not is_granted('IS_AUTHENTICATED_FULLY')) %} |
|
|
|
{% if task.comments is not empty %} |
|
|
|
<details> |
|
|
|
<summary class="mb-3"><h2 class="d-inline">Commentaires <span class="badge text-bg-secondary">{{ task.comments|length }}</span></h2></summary> |
|
|
|
{% endif %} |
|
|
@ -152,7 +152,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% if not (task.comments is empty or not is_granted('IS_AUTHENTICATED_FULLY')) %} |
|
|
|
{% if task.comments is not empty %} |
|
|
|
</details> |
|
|
|
{% endif %} |
|
|
|
{% if is_granted('IS_AUTHENTICATED_FULLY') %} |
|
|
|