Browse Source

corrige un bug

master
vincent 2 weeks ago
parent
commit
800352e4da
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/task/show.html.twig

+ 2
- 2
templates/task/show.html.twig View File

@ -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') %}


Loading…
Cancel
Save