Changeset 0f60d8b


Ignore:
Timestamp:
Sep 15, 2012, 11:20:27 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
cbffe98
Parents:
cf4b7f4
git-author:
Alex Dehnert <adehnert@…> (09/15/12 23:20:27)
git-committer:
Alex Dehnert <adehnert@…> (09/15/12 23:20:27)
Message:

Add summary section to /groups/constitutions/

Location:
asadb/template/groups
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/groups/groups_constitutions.html

    r52a6940 r0f60d8b  
    55
    66<h1>Constitutions</h1>
     7
     8<h2>Summary</h2>
     9
     10<table class='pretty-table'>
     11<tr>
     12    <th>Type</th>
     13    <th>Message</th>
     14    <th>Count</th>
     15</tr>
     16{% for reason, consts in failures %}
     17<tr>
     18    <th>Failure</th>
     19    <td><a href='#{{reason|slugify}}'>{{reason}}</a></td>
     20    <td>{{consts|length}}</td>
     21</tr>
     22{% endfor %}
     23{% for reason, consts in successes %}
     24<tr>
     25    <th>Successes</th>
     26    <td><a href='#{{reason|slugify}}'>{{reason}}</a></td>
     27    <td>{{consts|length}}</td>
     28</tr>
     29{% endfor %}
     30</table>
    731
    832<h2>Failures</h2>
  • asadb/template/groups/groups_constitutions.reason.html

    r04bdacd r0f60d8b  
    1 <h3>{{reason}} (total: {{consts|length}})</h3>
     1<h3><a name='{{reason|slugify}}'></a>{{reason}} (total: {{consts|length}})</h3>
    22<table class='pretty-table'>
    33<thead>
Note: See TracChangeset for help on using the changeset viewer.