~ubuntu-branches/ubuntu/saucy/horizon/saucy-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/firewalls/templates/firewalls/_policy_details.html

  • Committer: Package Import Robot
  • Author(s): James Page, James Page, Chuck Short
  • Date: 2013-10-03 13:48:12 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20131003134812-2vkwosem4flwuk5y
Tags: 1:2013.2~rc1-0ubuntu1
[ James Page ]
* New upstream release candidate:
  - d/static: Refreshed static assets for 2013.2~rc1.
  - d/patches: Refreshed patches.

[ Chuck Short ]
* debian/control: Add python-lesscpy as a suggests to optionally
  support online compression of static assets (LP: #1226674).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% load i18n sizeformat parse_date %}
 
2
{% load url from future %}
 
3
 
 
4
<div class="info row-fluid detail">
 
5
  <hr class="header_rule">
 
6
  <dl>
 
7
    <dt>{% trans "Name" %}</dt>
 
8
    <dd>{{ policy.name|default:_("-") }}</dd>
 
9
 
 
10
    <dt>{% trans "Description" %}</dt>
 
11
    <dd>{{ policy.description|default:_("-") }}</dd>
 
12
 
 
13
    <dt>{% trans "ID" %}</dt>
 
14
    <dd>{{ policy.id }}</dd>
 
15
 
 
16
    <dt>{% trans "Project ID" %}</dt>
 
17
    <dd>{{ policy.tenant_id }}</dd>
 
18
 
 
19
    <dt>{% trans "Rules" %}</dt>
 
20
    <dd>
 
21
      {% if policy.rules %}
 
22
      {% for rule in policy.rules %}
 
23
      {% url 'horizon:project:firewalls:ruledetails' rule.id as rule_url %}
 
24
      {{ rule.position }} : <a href="{{ rule_url }}">{{ rule.name|default:rule.id }}</a><br>
 
25
      {% endfor %}
 
26
      {% else %}
 
27
      {% trans "-" %}
 
28
      {% endif %}
 
29
    </dd>
 
30
 
 
31
    <dt>{% trans "Shared" %}</dt>
 
32
    <dd>{{ policy.shared|yesno|capfirst }}</dd>
 
33
 
 
34
    <dt>{% trans "Audited" %}</dt>
 
35
    <dd>{{ policy.audited|yesno|capfirst }}</dd>
 
36
  </dl>
 
37
</div>