~yolanda.robla/horizon/precise-security

« back to all changes in this revision

Viewing changes to horizon/horizon/dashboards/nova/templates/nova/networks/detail.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Robie Basak
  • Date: 2012-01-13 10:59:49 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120113105949-s0ecs3a4atn08dqf
Tags: 2012.1~e3~20120113.1213-0ubuntu1
[Chuck Short]
* Removed python-django-horizon.postinst, let dh_python2 generate instead
  since python-support is not a dependency. 
* Dropped python-openstack-compute from debian/control.
* Clean up debian/control.
* Restart apache when installing the openstack dashboard.
  (LP: #905527)
* Dropped python-coverage not needed.
* Added transitional package for people updating from oneiric.
* Rediffed patches.
* More linitian fixes.

[Robie Basak]
* debian/control: put python-django-horizon in Python section.
* debian/control: lintian fixes (LP: #899427):
  - Put python-django-horizon in Python section
  - Remove definite article from Description
* debian/copyright: fix dep5 syntax.
* debian/python-django-horizon.lintian-overrides: override for template shell
  script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends 'nova/base.html' %}
2
2
{% load i18n %}
 
3
{% block title %}Network Detail{% endblock %}
3
4
 
4
5
{% block page_header %}
5
6
  {% url horizon:nova:networks:detail network.id as refresh_link %}
10
11
{% block dash_main %}
11
12
  {% if network.ports %}
12
13
    {% include 'nova/networks/_detail.html' %}
13
 
    <a id="network_create_link" class="btn small" href="{% url horizon:nova:networks:port_create network.id %}">{% trans "Create Ports"%}</a>
 
14
    <a id="network_create_link" class="btn small" href="{% url horizon:nova:networks:port_create network.id %}">{% trans "Create Ports" %}</a>
14
15
  {% else %}
15
16
    <div class="alert-message block-message info">
16
 
     <h2>{% trans "Info"%}</h2>
17
 
     <p>{% trans "There are currently no ports in this network."%} <a class='btn small' href="{% url horizon:nova:networks:port_create network.id %}">{% trans "Create Ports"%}</a></p>
 
17
     <h2>{% trans "Info" %}</h2>
 
18
     <p>{% trans "There are currently no ports in this network." %} <a class='btn small' href="{% url horizon:nova:networks:port_create network.id %}">{% trans "Create Ports" %}</a></p>
18
19
    </div>
19
20
  {% endif %}
20
21
{% endblock %}