summaryrefslogtreecommitdiff
path: root/django-openstack/django_openstack/templates/django_openstack/dash/images/index.html
blob: 421d7cf2cc1e0a1c4330c09d2ccd42fa02108820 (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
{% extends 'django_openstack/dash/base.html' %}
{%load i18n%}
{% block sidebar %}
  {% with current_sidebar="images" %}
    {{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=_("Images") 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">
        <h2>{% trans "Info"%}</h2>
        <p>{% trans "There are currently no images."%}</p>
      </div>
    {% endif %}
{% endblock %}