{# When there are failed cijoe-tasks the 4-counter layout (col-md-6 col-lg-3) shows them as a prominent danger-tinted card linking to ``/ui/machines?filter=task-failed``. With zero failures the card is hidden and the other three counters spread across a clean 3-column row. #} {% set show_failures = task_failed_count and task_failed_count > 0 %} {% set wide_class = "col-md-6 col-lg-3" if show_failures else "col-md-4" %}