Fixing template compatibility

New template files missing proper url import. Adding imports.

Closes-Bug: #1372334
Change-Id: I053996065ada3977432d3d46eb5e6724cae31e97
This commit is contained in:
David Lyle 2014-09-22 11:30:08 -06:00
parent 9f5156cf16
commit 7a2c528f17
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
{% load i18n %}
{% load url from future %}
{% with dashboard_url=request.horizon.dashboard.get_absolute_url %}
<ul>
<li class="dropdown-header">{% trans "Projects:" %}</li>

View File

@ -1,4 +1,6 @@
{% load i18n %}
{% load url from future %}
{% if multi_region %}
{% with panel_url=request.horizon.panel.get_absolute_url %}
<ul>