blob: b4e841232afde256f2bbc6808dda20bd28646a96 (
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
27
|
{% extends 'nova/base.html' %}
{%load i18n%}
{% block sidebar %}
{% with current_sidebar="snapshots" %}
{{block.super}}
{% endwith %}
{% endblock %}
{% block page_header %}
{% url horizon:nova:snapshots:index as refresh_link %}
{# to make searchable false, just remove it from the include statement #}
{% include "horizon/common/_page_header.html" with title=_("Snapshots") refresh_link=refresh_link searchable="true" %}
{% endblock page_header %}
{% block dash_main %}
{% if images %}
{% include 'nova/images/_list.html' %}
{% else %}
<div class="message_box info">
{% url horizon:nova:instances:index as inst_url %}
<h2>{% trans "Info"%}</h2>
<p>{% blocktrans %}There are currently no snapshots. You can create snapshots from running instances. <a href='{{inst_url}}'>View Running Instances >></a>{% endblocktrans %}</p>
</div>
{% endif %}
{% endblock %}
|