source: asadb/template/groups/groups_constitutions.html

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

Generate a CSV version of the constitutions page

This is a CSV counterpart to /groups/constitutions/, for easier analysis in a
spreadsheet program or use with mail-merge. This can be view as progress
towards fixing ASA-#6.

  • Property mode set to 100644
File size: 974 bytes
Line 
1{% extends "base.html" %}
2
3{% block title %}Constitutions{% endblock %}
4{% block content %}
5
6<h1>Constitutions</h1>
7
8<p>See also the <a href='{% url groups:constitutions-csv %}'>CSV version</a> (which contains active groups only).</p>
9
10<h2>Summary</h2>
11
12<table class='pretty-table'>
13<tr>
14    <th>Type</th>
15    <th>Message</th>
16    <th>Count</th>
17</tr>
18{% for reason, consts in failures %}
19<tr>
20    <th>Failure</th>
21    <td><a href='#{{reason|slugify}}'>{{reason}}</a></td>
22    <td>{{consts|length}}</td>
23</tr>
24{% endfor %}
25{% for reason, consts in successes %}
26<tr>
27    <th>Successes</th>
28    <td><a href='#{{reason|slugify}}'>{{reason}}</a></td>
29    <td>{{consts|length}}</td>
30</tr>
31{% endfor %}
32</table>
33
34<h2>Failures</h2>
35{% for reason, consts in failures %}
36{% include "groups/groups_constitutions.reason.html" %}
37{% endfor %}
38
39<h2>Successes</h2>
40{% for reason, consts in successes %}
41{% include "groups/groups_constitutions.reason.html" %}
42{% endfor %}
43
44{% endblock %}
Note: See TracBrowser for help on using the repository browser.