blob: d8a1da57d0d97501db19252d6b6c73052d8ed252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{%load i18n%}
<table id="security_groups" class="wide">
<tr>
<th>{% trans "Name"%}</th>
<th>{% trans "Description"%}</th>
<th>{% trans "Actions"%}</th>
</tr>
{% for security_group in security_groups %}
<tr class="{% cycle 'odd' 'even' %}">
<td>{{ security_group.name }}</td>
<td>{{ security_group.description }}</td>
<td id="actions">
<ul>
<li><a href="{% url dash_security_groups_edit_rules request.user.tenant_id security_group.id %}">{% trans "Edit Rules"%}</a></li>
{% if security_group.name != 'default' %}
<li class="form">{% include "django_openstack/dash/security_groups/_delete.html" with form=delete_form %}</li>
{% endif %}
</ul>
</td>
</tr>
{% endfor %}
</table>
|