{% 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 stat.filters %} {% for f in stat.filters %} {% endfor %} {% for f in stat.filters %} {% if not WITHOUT_COST %}{% endif %} {% endfor %} {% for client_filters in stat.clients_filters %} {% with client_filters.0.client__login as client %} {% for cf in client_filters %} {% if not WITHOUT_COST %}{% endif %} {% endfor %} {% endwith %} {% endfor %}
{% trans "Client" %}{{ f }}
{% trans "Bytes" %}{% trans "Cost" %}
{% block client_login %}{{ client }}{% endblock %} {{ cf.bytes|filesizeformat }}{{ cf.cost|floatformat:2 }}
{% else %} {% trans "No stat for given period" %} {% endif %} {% endblock stat_data %}