{% extends "traff/stat_base.html" %} {% load i18n %} {% block month_label %} {% if day %}{% trans "month" %}: {% else %}{% trans "month" %}: {% endif %} {% endblock %} {% block year_label %} {% if month %}{% trans "year" %}: {% else %}{% trans "year" %}: {% endif %} {% endblock %} {% block stat_data %} {% if not WITHOUT_COST %}{% endif %} {% for item in stat.byfilters %} {% if not WITHOUT_COST %}{% endif %} {% endfor %}
{% trans "Filter" %} {% trans "Traffic size" %} {% trans "Cost" %}
{{ item.name }} {{ item.bytes|filesizeformat }}{{ item.cost|floatformat:2 }}

{% if not WITHOUT_COST %}{% endif %} {% if not WITHOUT_COST %}{% endif %} {% if not WITHOUT_COST %}{% endif %} {% if not WITHOUT_COST %}{% endif %} {% for item in stat.timestat %} {% if not WITHOUT_COST %}{% endif %} {% if not WITHOUT_COST %}{% endif %} {% endfor %}
{% trans "Period start" %} {% trans "Bytes downloaded" %}{% trans "Download cost" %}{% trans "Bytes uploaded" %}{% trans "Upload cost" %}
{% trans "Sum total" %} {{ stat.download|filesizeformat }}{{ stat.download_cost|floatformat:2 }} {{ stat.upload|filesizeformat }}{{ stat.upload_cost|floatformat:2 }}
{% block period %}{{ item.period.date }}{% endblock %} {{ item.input|filesizeformat }}{{ item.input_cost|floatformat:2 }} {{ item.output|filesizeformat }}{{ item.output_cost|floatformat:2 }}
{% endblock stat_data %}