{% 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:'Statistics' %} {% include 'nav_header.html' %} {% endwith %} {% crispy form %} {# Display view if exists #} {% if result %} {% if result.graph_url %}
{{ metric }} | {{ value }}{{ result.graph_args.vtitle }} |
Error fetching data
{% endif %} {% endif %} {% endblock base_content %}