{% extends 'nova/base.html' %}
{% load i18n %}
{% block title %}Snapshots{% 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_and_snapshots/images/_list.html' %}
  {% else %}
    <div class="alert-message block-message info">
      <p><strong>{% trans "Info: " %}</strong>{% trans "There are currently no snapshots.  You can create snapshots from running instances." %}</p>
      <div class="alert-actions">
        <a class="btn small primary" href='{% url horizon:nova:instances_and_volumes:instances:index %}'>{% trans "View Running Instances" %}</a>
      </div>
    </div>
  {% endif %}
{% endblock %}

