{% extends "includes/_layout.html" %} {% import "includes/_macros.html" as ui %} {% block title %} {% set bugs_total = all_bugs["DATA"]|map(attribute='bugs')|map('length')|sum %} {% if bugs_total == 1 %} {% set bugs_word = " bug" %} {% else %} {% set bugs_word = " bugs" %} {% endif %}
{% for bug_data in all_bugs["DATA"] %} {% if bug_data.bugs|length > 0 %} {% set bugs_len_str = bug_data.bugs|length|string %} {{ bug_data['display_name']}}: {{ bugs_len_str }} {% endif %} {% endfor %}