{% extends "/base.html" %} {% set active_page = "projects" %} {% set active_project = "all" %} {% import "projects/_helpers.html" as helper %} {% import "privacy/locked.html" as privacy %} {% block content %}
{{helper.render_project_local_nav(project, 'stats', current_user, pro_features)}}
{% if enforce_privacy and (current_user.is_anonymous() or (current_user.is_authenticated and not current_user.admin)) %} {{ privacy.render_lock_page() }} {% else %} {{ helper.render_project_title(project, upload_method, subtitle=_('Statistics'))}}
{% if private %}
{{_('Important')}}: {{_('Data have been')}} {{_('anonymized')}}!
{% endif %} {% if pro_features['better_stats_enabled'] %}

{{_('Average contribution time per task') }}:

{{ avg_contrib_time }} {{ _('seconds') }}

{% endif %}

{{_('Distribution of Answers per Hour')}}

{{_('Completed Tasks in the last 15 days')}} {{_('select an area to zoom, click to reset the chart')}}

{{_('Answers per day')}} {{_('select an area to zoom, click to reset the chart')}}

{{_('Distribution of Answers')}}

{% for k in userStats.keys() if k != 'geo' %} {% endfor %}
{{_('Type')}} {{_('Users')}} {{_('Percentage')}}
{{k | capitalize}} {{userStats[k].taskruns}} {{userStats[k].pct_taskruns}} %

{{_('Details about Anonymous Users')}}

{{userStats.anonymous.users}} {{_('anonymous users have')}} {{_('participated')}}

{% if userStats.anonymous.top5 and userStats.geo %}

Top 5 users

{% for u in userStats.anonymous.top5 %} {% endfor %}
# {{_('Country')}} {{_('City')}} {{_('Tasks')}}
{{loop.index}} {{u.loc.country_name}} {{u.loc.city}} {{u.tasks}}
{% endif %}
{% if userStats.geo %}

{{_('This page includes GeoLite data created by MaxMind, available from')}} http://www.maxmind.com

{% endif %}

{{_('Details about Authenticated Users')}}

{{userStats.authenticated.users}} {{_('authenticated users have')}} {{_('participated')}}.

{% if userStats.authenticated.top5 %}

{{_('Top 5 users')}}

{% for u in userStats.authenticated.top5 %} {% endfor %}
# {{_('User')}} {{_('Tasks')}}
{{loop.index}} {{u.fullname}} {{u.tasks}}
{% endif %}
{%endif%}
{{ helper.broken_image() }} {% endblock %}