source: asadb/template/groups/groups_constitutions.reason.html

space-accessstablestage
Last change on this file was 4bf8692, checked in by Alex Dehnert <adehnert@…>, 13 years ago

Add and use constitution linkifying filter (ASA-#146)

  • Property mode set to 100644
File size: 685 bytes
Line 
1{% load groupdisplay %}
2<h3><a name='{{reason|slugify}}'></a>{{reason}} (total: {{consts|length}})</h3>
3<table class='pretty-table'>
4<thead>
5<tr>
6    <th>ID</th>
7    <th>Group Name</th>
8    <th>ID</th>
9    <th>Constitution URL</th>
10    <th>Failure Date</th>
11</tr>
12</thead>
13<tbody>
14{% for const in consts %}
15<tr>
16    <th>{{const.group.pk}}</th>
17    <td><a href='{% url groups:group-detail const.group.pk %}'>{{const.group.name}}</a>{% if const.group.group_status.slug != "active" %} ({{const.group.group_status}}){%endif%}</td>
18    <td>{{const.pk}}</td>
19    <td>{{const.source_url|format_constitution_link}}</td>
20    <td>{{const.failure_date}}</td>
21</tr>
22{% endfor %}
23</tbody>
24</table>
Note: See TracBrowser for help on using the repository browser.