{% extends "sysadmin/base.html" %} {% load seahub_tags i18n %} {% block cur_statistic %}tab-cur{% endblock %} {% block right_panel %} {% with cur_tab='traffic' %} {% include 'sysadmin/snippets/sys_statistic_nav.html' %} {% endwith %}
{% for info in traffic_info_list %} {% endfor %}
{% if type == 'user' %} {% trans "User" %} {% else %} {% trans "Organization" %} {% endif %} {% trans "Sync Upload" %} {% trans "Sync Download" %} {% trans "Web Upload" %} {% trans "Web Download" %} {% trans "Share link upload" %} {% trans "Share link download" %}
{% if info.org_id > 0 %} {{ info.org_name }} {% elif info.user %} {{ info.user|email2nickname }} {% else %} -- {% endif %} {{ info.sync_file_upload|filesizeformat }} {{ info.sync_file_download|filesizeformat }} {{ info.web_file_upload|filesizeformat }} {{ info.web_file_download|filesizeformat }} {{ info.link_file_upload|filesizeformat }} {{ info.link_file_download|filesizeformat }}
{% if current_page != 1 %} {% trans "Previous" %} {% endif %} {% if page_next %} {% trans "Next" %} {% endif %} {% if current_page != 1 or page_next %} | {% endif %} {% trans "Per page: " %} {% if per_page == 25 %} 25 {% else %} 25 {% endif %} {% if per_page == 50 %} 50 {% else %} 50 {% endif %} {% if per_page == 100 %} 100 {% else %} 100 {% endif %}
{% endblock %} {% block extra_script %} {% endblock %}