diff --git a/holodeck/templates/holodeck/dashboard.html b/holodeck/templates/holodeck/dashboard.html index 716465c..d9cba2e 100644 --- a/holodeck/templates/holodeck/dashboard.html +++ b/holodeck/templates/holodeck/dashboard.html @@ -1,15 +1,16 @@ {% extends "holodeck/layout.html" %} {% load i18n holodeck_inclusion_tags %} +{% load url from future %} {% block title %}{% trans "Dashboard Overview" %} | {{ block.super }}{% endblock %} {% block breadcrumb %} -
  • {% trans "Dashboard Overview" %}
  • +
  • {% trans "Dashboard Overview" %}
  • {% endblock %} {% block page_header %} - {% trans "Create a new dashboard" %} + {% trans "Create a new dashboard" %} {{ block.super }} {% endblock %} @@ -24,7 +25,7 @@ diff --git a/holodeck/templates/holodeck/inclusion_tags/dashboard_dropdown.html b/holodeck/templates/holodeck/inclusion_tags/dashboard_dropdown.html index adbe029..fa5ef10 100644 --- a/holodeck/templates/holodeck/inclusion_tags/dashboard_dropdown.html +++ b/holodeck/templates/holodeck/inclusion_tags/dashboard_dropdown.html @@ -1,12 +1,13 @@ {% load i18n %} +{% load url from future %} diff --git a/holodeck/templates/holodeck/inclusion_tags/dashboard_list_summary.html b/holodeck/templates/holodeck/inclusion_tags/dashboard_list_summary.html index bd10007..618f68b 100644 --- a/holodeck/templates/holodeck/inclusion_tags/dashboard_list_summary.html +++ b/holodeck/templates/holodeck/inclusion_tags/dashboard_list_summary.html @@ -1,10 +1,11 @@ {% load i18n %} +{% load url from future %}
  • {% if metric %}{{ previous.percentage }}%{% else %} NA {% endif %}

    - {{ dashboard.name }} + {{ dashboard.name }}

    {{ metric.name }} @@ -14,7 +15,7 @@

    {% if metric %} {% trans "Loading data..." %} {% else %} - {% url holodeck-new-metric dashboard.pk as link %} + {% url "holodeck-new-metric" dashboard.pk as link %}
    {% blocktrans %}This dashboard does not currently have any metrics. Would you like to create a new metric now?{% endblocktrans %}
    {% endif %}

    diff --git a/holodeck/templates/holodeck/layout.html b/holodeck/templates/holodeck/layout.html index 9b0777e..deb0e62 100644 --- a/holodeck/templates/holodeck/layout.html +++ b/holodeck/templates/holodeck/layout.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load url from future %} @@ -15,7 +16,7 @@