{% with report.series.maximum as max %}
{% for timestamp, metrics in report.series.points %}
{% if metrics.resolved or metrics.unresolved %}
|
|
{% else %}
|
|
{% endif %}
|
{% endfor %}
{% endwith %}
{% for timestamp, metrics in report.series.points %}
{{ timestamp|date:duration.date_format|first }} |
{% endfor %}
|
{% for label, change in report.comparisons %}
{% if change %}
{% if change >= 0 %}

{% else %}

{% endif %}
{% with change|multiply:"100"|absolute_value as percentage %}
{% if percentage >= 1000 %}{{ percentage|floatformat:"0" }}{% else %}{{ percentage|floatformat:"-1" }}{% endif %}%
{% endwith %}
{% if change >= 0 %}more{% else %}fewer{% endif %} than {{ label }}
{% else %}
There is not enough data to compare to {{ label }}.
{% endif %}
|
{% endfor %}
|