blob: 7029e51f1741376a3d2d9d0f8ab6a5830a84ddbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{% extends 'nova/base.html' %}
{% load i18n %}
{% block sidebar %}
{% with current_sidebar="volumes" %}
{{block.super}}
{% endwith %}
{% endblock %}
{% block page_header %}
{% url horizon:nova:volumes:index as refresh_link %}
{# to make searchable false, just remove it from the include statement #}
{% include "horizon/common/_page_header.html" with title=_("Volumes") refresh_link=refresh_link searchable="true" %}
{% endblock page_header %}
{% block dash_main %}
{% if volumes %}
{% include 'nova/volumes/_list.html' %}
{% else %}
<div class="message_box info">
<h2>{% trans "Info"%}</h2>
<p>{% blocktrans %}There are currently no volumes.{% endblocktrans %}</p>
</div>
{% endif %}
<a id="volume_create_link" class="action_link large-rounded" href="{% url horizon:nova:volumes:create %}">{% trans "Create New Volume" %}</a>
{% endblock %}
|