summaryrefslogtreecommitdiff
path: root/django-openstack/django_openstack/templates/django_openstack/dash/snapshots/index.html
blob: 437a504e4fdbba59e33de25b0181c39548e6b67d (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 'django_openstack/dash/base.html' %}
{%load i18n%}

{% block sidebar %}
  {% with current_sidebar="snapshots" %}
    {{block.super}}
  {% endwith %}
{% endblock %}

{% block page_header %}
  {% url dash_snapshots 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=_("Snapshots") refresh_link=refresh_link searchable="true" %}
{% endblock page_header %}

{% block dash_main %}
  {% if images %}
    {% include 'django_openstack/dash/images/_list.html' %}
  {% else %}
    <div class="message_box info">
      {% url dash_instances request.user.tenant_id  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 &gt;&gt;</a>{% endblocktrans %}</p>
    </div>
  {% endif %}
{% endblock %}