Ignore:
Timestamp:
Aug 25, 2011, 10:53:03 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
9b391ce, 165e5aa
Parents:
d3167b9
git-author:
Alex Dehnert <adehnert@…> (08/25/11 22:53:03)
git-committer:
Alex Dehnert <adehnert@…> (08/25/11 22:53:03)
Message:

Rearrange URLs

This factors out the common "groups" prefix, makes "groups" be used even for
single-group things, and puts group-related stuff in a single namespace.
(Django is lame, and while nested namespaces work, namespaces with wildcards
in the prefix don't, so I can't make a groups:group namespace, which would be
cute.)

File:
1 edited

Legend:

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

    r9ea4909 rfbb362a  
    4646{%for group, role_list in officers %}
    4747<tr>
    48     <th><a href='{% url group-detail group.pk %}'>{{group}}</a></th>
     48    <th><a href='{% url groups:group-detail group.pk %}'>{{group}}</a></th>
    4949    {%for holders in role_list%}
    5050    <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.