Changeset 227f644


Ignore:
Timestamp:
Aug 9, 2011, 3:48:31 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
8ead7ed
Parents:
8629211
git-author:
Alex Dehnert <adehnert@…> (08/09/11 03:48:31)
git-committer:
Alex Dehnert <adehnert@…> (08/09/11 03:48:31)
Message:

Fix validation of signatory list

Apparently empty <ul>s aren't compliant. Oops.

File:
1 edited

Legend:

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

    ra96622c r227f644  
    3737    <th>{{group}}</th>
    3838    {%for holders in role_list%}
    39     <td><ul>{% for person in holders %}<li>{{person}}</li>{%endfor%}</ul></td>
     39    <td>{% if holders %}<ul>{% for person in holders %}<li>{{person}}</li>{%endfor%}</ul>{% endif %}</td>
    4040    {%endfor%}
    4141</tr>
Note: See TracChangeset for help on using the changeset viewer.