Changeset bda4d86 for asadb/template


Ignore:
Timestamp:
Nov 4, 2012, 2:45:54 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
72a3d90
Parents:
ef00d33
git-author:
Alex Dehnert <adehnert@…> (11/04/12 01:13:13)
git-committer:
Alex Dehnert <adehnert@…> (11/04/12 02:45:54)
Message:

Finish support for group membership update cycles

The revised workflow is that you visit a group selection page, and select a
group to update. That checks authz (ASA-#169) and then loads any old update in
the appropriate cycle (ASA-#27).

Location:
asadb/template
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/forms/select.html

    rc9d8369 rbda4d86  
    44{% block content %}
    55
    6 <h2>Select Group</h2>
     6<h2>{{title}}</h2>
     7
     8{% if msg %}<p>{{msg}}</p>{%endif%}
    79
    810<form method="post" action="">
  • asadb/template/index.html

    r826a126 rbda4d86  
    4444    </ul></li>
    4545    <li>Membership updates<ul>
    46         <li><a href='{%url membership-update%}'>Group update</a></li>
     46        <li><a href='{%url membership-update-cycle %}'>Group update</a></li>
    4747        <li><a href='{%url membership-confirm%}'>Individual confirmations</a></li>
    4848        <li><a href='{%url membership-submitted%}'>Groups with submitted updates</a></li>
  • asadb/template/membership/update.html

    rf48884a rbda4d86  
    5757{% csrf_token %}
    5858<table class='pretty-table'>
     59<tr>
     60    <th>Group</th>
     61    <td>{{group}}</td>
     62</tr>
    5963{{ form.as_table }}
    6064<tr><th colspan='2'><input type='submit' value='Submit membership update' /></th></tr>
Note: See TracChangeset for help on using the changeset viewer.