stablestage
|
Last change
on this file was
89165c1,
checked in by Alex Dehnert <adehnert@…>, 12 years ago
|
|
Track student status with moira "affiliation"
Moira recently added an "affiliation" field with information about whether a
person is student, staff, etc.. This changes the ASA DB to use that field by
default to determine student status. For some people with suppressed directory
information ("secret people"), however, affiliation will be "affiliate" but
should be "student". Those people can have their record changed to use a "loose
student" algorithm that considers somebody a student if their affiliation or
account class indicate that they're a student.
|
-
Property mode set to
100644
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | {% extends "base.html" %} |
|---|
| 2 | |
|---|
| 3 | {% block title %}Non-student group officers{% endblock %} |
|---|
| 4 | {% block content %} |
|---|
| 5 | |
|---|
| 6 | <h1>Non-student group officers</h1> |
|---|
| 7 | |
|---|
| 8 | {% if msg_type %} |
|---|
| 9 | <div class='messagebox {{msg_type}}box'> |
|---|
| 10 | <p>{{msg}}</p> |
|---|
| 11 | </div> |
|---|
| 12 | {% endif %} |
|---|
| 13 | |
|---|
| 14 | <h2>Student-only roles</h2> |
|---|
| 15 | |
|---|
| 16 | <p>The ASA requires that the following roles be filled by students:</p> |
|---|
| 17 | <table class='pretty-table'> |
|---|
| 18 | <tr> |
|---|
| 19 | <th>Role</th> |
|---|
| 20 | <th>Description</th> |
|---|
| 21 | </tr> |
|---|
| 22 | {% for role in roles %} |
|---|
| 23 | <tr> |
|---|
| 24 | <th>{{role.display_name}}</th> |
|---|
| 25 | <td>{{role.description}}</td> |
|---|
| 26 | </tr> |
|---|
| 27 | {% endfor %} |
|---|
| 28 | </table> |
|---|
| 29 | |
|---|
| 30 | <h2>Violations</h2> |
|---|
| 31 | |
|---|
| 32 | <p>The following non-students are officers of the following groups</p> |
|---|
| 33 | |
|---|
| 34 | <table class='pretty-table'> |
|---|
| 35 | <tr> |
|---|
| 36 | <th><a href='?sort=group'>Group</a></th> |
|---|
| 37 | <th><a href='?sort=status'>Status</a></th> |
|---|
| 38 | <th><a href='?sort=role'>Role</a></th> |
|---|
| 39 | <th><a href='?sort=person'>Person</a></th> |
|---|
| 40 | </tr> |
|---|
| 41 | {% for holder in holders %} |
|---|
| 42 | <tr> |
|---|
| 43 | <td><a href='{% url groups:group-detail holder.group.pk %}'>{{holder.group.name}}</a></td> |
|---|
| 44 | <td>{{holder.group.group_status}}</td> |
|---|
| 45 | <td>{{holder.role.display_name}}</td> |
|---|
| 46 | <td>{% if perms.groups.change_athenamoiraaccount %}<a href='{% url admin:groups_athenamoiraaccount_changelist %}?username={{holder.person}}'>{{holder.person}}</a>{% else %}{{holder.person}}{% endif %}</td> |
|---|
| 47 | </tr> |
|---|
| 48 | {% endfor %} |
|---|
| 49 | </table> |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.