Changeset 8c7a670


Ignore:
Timestamp:
Feb 10, 2012, 2:40:28 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
49209d1
Parents:
bb48649
git-author:
Alex Dehnert <adehnert@…> (02/10/12 02:40:28)
git-committer:
Alex Dehnert <adehnert@…> (02/10/12 02:40:28)
Message:

Display abbreviations on group lists

Location:
asadb/template/groups
Files:
2 edited

Legend:

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

    re499677 r8c7a670  
    2121    <tr>
    2222        <th>Name</th>
     23        <th>Abbreviation</th>
    2324        <th>Status</th>
    2425        <th>Website</th>
     
    3233    <tr class='group-status-{{group.group_status.slug}} group-active-{{group.group_status.is_active}}'>
    3334        <th>{{group.name}}</th>
     35        <th>{{group.abbreviation}}</th>
    3436        <td class='group-status'>{{group.group_status}}</td>
    3537        <td>{% if group.website_url %}<a href='{{group.website_url}}'>Website</a>{%endif%}</td>
  • asadb/template/groups/groups_signatories.html

    rbb48649 r8c7a670  
    2929{%for group, role_list in officers %}
    3030<tr>
    31     <th><a href='{% url groups:group-detail group.pk %}'>{{group}}</a> ({{group.group_status}})</th>
     31    <th><a href='{% url groups:group-detail group.pk %}'>{{group}}</a> ({{group.group_status}})<br>{{group.abbreviation}}</th>
    3232    {%for holders in role_list%}
    3333    <td>{% if holders %}<ul>{% for person in holders %}<li>{{person}}</li>{%endfor%}</ul>{% endif %}</td>
Note: See TracChangeset for help on using the changeset viewer.