~ubuntu-branches/ubuntu/precise/horizon/precise-updates

« back to all changes in this revision

Viewing changes to .pc/git-2012.1~e2~20111201.1077.patch/horizon/horizon/dashboards/nova/templates/nova/security_groups/index.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-09 16:18:55 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111209161855-nguyenpghx2o2lqy
Tags: 2012.1~e2~20111209.1104-0ubuntu1
* New upstream release.
* Refreshed patches.
* debian/docs: Removed README

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends 'nova/base.html' %}
2
 
{%load i18n%}
3
 
 
4
 
{% block sidebar %}
5
 
  {% with current_sidebar="security_groups" %}
6
 
    {{block.super}}
7
 
  {% endwith %}
8
 
{% endblock %}
9
 
 
10
 
{% block page_header %}
11
 
  {% url horizon:nova:security_groups:index as refresh_link %}
12
 
  {# to make searchable false, just remove it from the include statement #}
13
 
  {% include "horizon/common/_page_header.html" with title=_("Security Groups") refresh_link=refresh_link searchable="true" %}
14
 
{% endblock page_header %}
15
 
 
16
 
{% block dash_main %}
17
 
  {% if security_groups %}
18
 
    {% include 'nova/security_groups/_list.html' %}
19
 
    {% url horizon:nova:security_groups:create as create_sec_url %}
20
 
    <a id="security_groups_create_link" class="action_link large-rounded" href="{{create_sec_url}}">{% trans "Create Security Group"%}</a>
21
 
  {% else %}
22
 
    <div class="message_box info">
23
 
      {% url horizon:nova:security_groups:create as dash_sec_url %}
24
 
      <h2>{% trans "Info"%}</h2>
25
 
      <p>{% blocktrans %}There are currently no security groups. <a href='{{dash_sec_url}}'>Create A Security Group &gt;&gt;</a>{% endblocktrans %}</p>
26
 
    </div>
27
 
  {% endif %}
28
 
{% endblock %}