{% extends 'ohmyadmin/metrics/base.html' %} {% block subtitle %} {% if metric.show_total %} {{ metric.total_format.format(total=value.total) }} {% endif %} {% endblock %} {% block content %}
{% for partition in value.series %}
{{ partition.label }} {% if metric.show_values or metric.show_percents %}({% endif -%} {% if metric.show_values %}{{ partition.value }}{% endif %} {%- if metric.show_values and metric.show_percents %} - {% endif -%} {% if metric.show_percents %}{{ value.percent(partition.value) }}%{% endif %} {%- if metric.show_values or metric.show_percents %}){% endif %}
{% endfor %}
{% endblock %}