diff --git a/src/frontend/flask_app/templates/measure/task_list.html b/src/frontend/flask_app/templates/measure/task_list.html index 3bf154c..7e46b01 100644 --- a/src/frontend/flask_app/templates/measure/task_list.html +++ b/src/frontend/flask_app/templates/measure/task_list.html @@ -163,42 +163,33 @@ {{ task.directive or task.description }}

{% endif %} + - -
- - {% if task.subtask_count is defined or task.subtasks %} - - - - - - {% if task.subtask_count is defined %} - {{ task.subtask_count }} - {% elif task.subtasks %} - {{ task.subtasks|length }} - {% endif %} - {{ _('misurazioni') }} - - - {% endif %} + +
+ {% if task.subtask_count is defined or task.subtasks %} + + + + + {% if task.subtask_count is defined %}{{ task.subtask_count }}{% elif task.subtasks %}{{ task.subtasks|length }}{% endif %} + + {% endif %} - - {% if task.file_path %} - - {% if task.file_path.endswith('.pdf') %} - - - - {% else %} - - - - {% endif %} - {{ _('Allegato') }} - + {% if task.file_path %} + + {% if task.file_path.endswith('.pdf') %} + + + + {% else %} + + + {% endif %} -
+ + {% endif %}