{% extends "base.html" %} {# Don't need a deeper hierarchy for one template #} {% load crispy_forms_tags %} {% load tools %} {% block base_header_additional_head %} {% endblock %} {% block base_content %} {% with tool=current_user_data.tools|get_tool:'Ranked Statistics' %} {% include 'nav_header.html' %} {% endwith %} {% crispy form %} {# Display view if exists #} {% if result %} {% if result.graph_url %} Chart {% for metric, value, obj in result.display_data %} {% endfor %}
Average values
{% if obj and obj.get_absolute_url %} {{ metric }} {% else %} {{ metric }} {% endif %} {{ value }}{{ result.graph_args.vtitle }}
{% else %}
No data was found for the given timeframe. This may indicate a problem with the data collection and/or presentation. Try choosing a longer timeframe to see when the problem started.
{% endif %} {% endif %} {% endblock base_content %}