
The recent changes to keystone switched from sending the tenant id to sending the tenant name as "tenant", thus breaking various tenant-related calls. This patch differentiates the two and names them as separate attributes on request.user. It also switches to using novaclient for the api.tenant_quota_get function.
19 lines
717 B
HTML
19 lines
717 B
HTML
{% extends 'django_openstack/dash/base.html' %}
|
|
|
|
{% block sidebar %}
|
|
{% with current_sidebar="containers" %}
|
|
{{block.super}}
|
|
{% endwith %}
|
|
{% endblock %}
|
|
|
|
{% block page_header %}
|
|
{% url dash_images request.user.tenant_id as refresh_link %}
|
|
{# to make searchable false, just remove it from the include statement #}
|
|
{% include "django_openstack/common/_page_header.html" with title="Containers" refresh_link=refresh_link searchable="true" %}
|
|
{% endblock page_header %}
|
|
|
|
{% block dash_main %}
|
|
{% include 'django_openstack/dash/containers/_list.html' %}
|
|
<a class="action_link large-rounded" href="{% url dash_containers_create request.user.tenant_id %}">Create New Container >></a>
|
|
{% endblock %}
|