{% 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 %}
{% trans "Filter" %} | {% trans "Traffic size" %} | {% if not WITHOUT_COST %}{% trans "Cost" %} | {% endif %}
---|---|---|
{{ item.name }} | {{ item.bytes|filesizeformat }} | {% if not WITHOUT_COST %}{{ item.cost|floatformat:2 }} | {% endif %}
{% trans "Period start" %} | {% trans "Bytes downloaded" %} | {% if not WITHOUT_COST %}{% trans "Download cost" %} | {% endif %}{% trans "Bytes uploaded" %} | {% if not WITHOUT_COST %}{% trans "Upload cost" %} | {% endif %}
---|---|---|---|---|
{% trans "Sum total" %} | {{ stat.download|filesizeformat }} | {% if not WITHOUT_COST %}{{ stat.download_cost|floatformat:2 }} | {% endif %}{{ stat.upload|filesizeformat }} | {% if not WITHOUT_COST %}{{ stat.upload_cost|floatformat:2 }} | {% endif %}
{% block period %}{{ item.period.date }}{% endblock %} | {{ item.input|filesizeformat }} | {% if not WITHOUT_COST %}{{ item.input_cost|floatformat:2 }} | {% endif %}{{ item.output|filesizeformat }} | {% if not WITHOUT_COST %}{{ item.output_cost|floatformat:2 }} | {% endif %}