{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "Containers" %}{% endblock %}

{% block page_header %}
  <div class='page-header'>
    <h2>{% trans "Containers" %}</h2>
  </div>
{% endblock page_header %}

{% block main %}
    {% if subfolders %}
         <div class="page_title table_header">
            <div>
                <h3>
                    <a href="{% url 'horizon:project:containers:index' %}{{ container_name }}/">{{ container_name }}</a> : /
                    {% for folder in subfolders %}
                        {%  if forloop.last %}
                            {{ folder.0 }}
                        {%  else %}
                           <a href="{% url 'horizon:project:containers:index' %}{{ container_name }}/{{ folder.1 }}">{{ folder.0 }}</a> /
                        {% endif %}
                    {% endfor %}
                </h3>
            </div>
         </div>
    {% endif %}
  {{ swift_browser.render }}
{% endblock %}

{% extends 'base.html' %}
{% load i18n %}
{% load url from future %}

{% block title %}{% trans "Containers" %}{% endblock %}

{% block page_header %}
  <div class='page-header'>
    <h2>{% trans "Containers" %}</h2>
  </div>
{% endblock page_header %}

{% block main %}
    {% if subfolders %}
         <div class="page_title table_header">
            <div>
                <h3>
                    <a href="{% url 'horizon:project:containers:index' %}{{ container_name }}/">{{ container_name }}</a> : /
                    {% for folder in subfolders %}
                        {%  if forloop.last %}
                            {{ folder.0 }}
                        {%  else %}
                           <a href="{% url 'horizon:project:containers:index' %}{{ container_name }}/{{ folder.1 }}">{{ folder.0 }}</a> /
                        {% endif %}
                    {% endfor %}
                </h3>
            </div>
         </div>
    {% endif %}
  {{ swift_browser.render }}
{% endblock %}

Add missing "load url from future" in a container template
Add missing "load url from future" in a container template

The modified template uses new syntax for the URL template tag,
but doesn't load the new syntax definition, as required by Django.
This leads to errors when trying to render that template.

Change-Id: I42ddb39cad62b1be0cad81d4758412a981be461e
Closes-bug: #1331271
