space-accessstablestage
|
Last change
on this file was
d0f076f,
checked in by Alex Dehnert <adehnert@…>, 14 years ago
|
|
Show Account numbers on signatory page
Fixes ASA Trac #113.
|
-
Property mode set to
100644
|
|
File size:
1.4 KB
|
| Rev | Line | |
|---|
| [a96622c] | 1 | {% extends "base.html" %} |
|---|
| 2 | |
|---|
| 3 | {% block title %}Signatory list{% endblock %} |
|---|
| 4 | {% block content %} |
|---|
| 5 | |
|---|
| [7a117da] | 6 | <h1>Signatory list</h1> |
|---|
| [a96622c] | 7 | |
|---|
| [9ea4909] | 8 | <h2>Search</h2> |
|---|
| 9 | |
|---|
| 10 | <form action="" method="get"> |
|---|
| 11 | <table class='pretty-table'> |
|---|
| 12 | {{ filter.form.as_table }} |
|---|
| 13 | </table> |
|---|
| 14 | <input type="submit" value="Search" /> |
|---|
| 15 | </form> |
|---|
| 16 | |
|---|
| 17 | <h2>The Groups</h2> |
|---|
| 18 | |
|---|
| [bb48649] | 19 | <table class='pretty-table group-list'> |
|---|
| [a96622c] | 20 | <thead> |
|---|
| 21 | <tr> |
|---|
| 22 | <th></th> |
|---|
| 23 | {% for role in roles %} |
|---|
| [3107c52] | 24 | <th>{{role.display_name}}{% if not role.publicly_visible%} (not publicly viewable){%endif%}</th> |
|---|
| [a96622c] | 25 | {% endfor %} |
|---|
| 26 | </tr> |
|---|
| 27 | </thead> |
|---|
| 28 | <tbody> |
|---|
| 29 | {%for group, role_list in officers %} |
|---|
| 30 | <tr> |
|---|
| [8389289] | 31 | <th> |
|---|
| 32 | <a href='{% url groups:group-detail group.pk %}'>{{group}}</a> ({{group.group_status}}) |
|---|
| 33 | {% if group.abbreviation %}<br>Abbreviation: {{group.abbreviation}}{% endif %} |
|---|
| 34 | {% if user.is_authenticated and group.officer_email %}<br>Officer list: {{group.officer_email}}{% endif %} |
|---|
| [d0f076f] | 35 | {% if perms.groups.view_group_private_info %} |
|---|
| 36 | {% if group.main_account_id %}<br>Main account: {{group.main_account_id}}{% endif %} |
|---|
| 37 | {% if group.funding_account_id %}<br>Funding account: {{group.funding_account_id}}{% endif %} |
|---|
| 38 | {% endif %} |
|---|
| [8389289] | 39 | </th> |
|---|
| [a96622c] | 40 | {%for holders in role_list%} |
|---|
| [227f644] | 41 | <td>{% if holders %}<ul>{% for person in holders %}<li>{{person}}</li>{%endfor%}</ul>{% endif %}</td> |
|---|
| [a96622c] | 42 | {%endfor%} |
|---|
| 43 | </tr> |
|---|
| 44 | {%endfor%} |
|---|
| 45 | </tbody> |
|---|
| 46 | </table> |
|---|
| 47 | |
|---|
| 48 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.