{% extends "includes/_layout.html" %} {% import "includes/_macros.html" as ui %} {% block title %}

Analytics, {{ year }}

{% endblock %} {% macro render_report(title, report) %} {% call ui.render_ibox(title, content_classes='no-padding') %} {% for point in report.header %} {% endfor %} {% for team, points in report.rows.items() %} {% if team == "Total" %} {% else %} {% endif %} {% for point in points %} {% endfor %} {% endfor %}
{{ point.strftime('%b') }}
{{ team }}{{ point }}
{% endcall %} {% endmacro %} {% block body %}
{{ render_report('Incoming (High & Critical)', incoming_important) }} {{ render_report('Backlog (High & Critical)', backlog_important) }} {{ render_report('Incoming', incoming) }} {{ render_report('Backlog', backlog) }}
{% endblock %}