root / snf-astakos-app / astakos / im / templates / im / astakosgroup_detail.html @ 8e45d6fd
History | View | Annotate | Download (1003 Bytes)
1 |
{% extends "im/account_base.html" %} |
---|---|
2 |
|
3 |
{% load filters %} |
4 |
|
5 |
{% block page.body %} |
6 |
<div class="maincol {% block innerpage.class %}{% endblock %}"> |
7 |
<table class="zebra-striped id-sorted"> |
8 |
<tr>
|
9 |
<th>Name: {{object.name}}</th> |
10 |
</tr>
|
11 |
<tr>
|
12 |
<th>Members: {{object.membership.all}}</th> |
13 |
</tr>
|
14 |
</table>
|
15 |
<div class="section"> |
16 |
<h2>Policies:</h2> |
17 |
{% if quota %} |
18 |
<table class="zebra-striped id-sorted"> |
19 |
<thead>
|
20 |
<tr>
|
21 |
<th>Resource</th> |
22 |
<th>Limit</th> |
23 |
</tr>
|
24 |
</thead>
|
25 |
<tbody>
|
26 |
{% for o in quota %} |
27 |
<tr>
|
28 |
<td>{{o}}</td> |
29 |
<td>{{quota|lookup:o}}</td> |
30 |
</tr>
|
31 |
{% endfor %} |
32 |
</tbody>
|
33 |
</table>
|
34 |
{% else %} |
35 |
<p>No policies</p> |
36 |
{% endif %} |
37 |
</div>
|
38 |
</div>
|
39 |
{% endblock %} |