Changeset 11941e1


Ignore:
Timestamp:
Oct 21, 2012, 8:53:06 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
de025c2
Parents:
9faa1b2
git-author:
Alex Dehnert <adehnert@…> (10/21/12 20:51:22)
git-committer:
Alex Dehnert <adehnert@…> (10/21/12 20:53:06)
Message:

Warn students when they confirm group membership

Previously, non-students could confirm membership in a group, and we would just
silently not count it. Now, when they visit the page, they get a warning
message. Also, the page text has been changed to reflect the requirent to have
at least five *student* members, not just at least five members.

Fixes ASA-#152.

Location:
asadb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    r9faa1b2 r11941e1  
    404404    message_type = "info"
    405405
     406    if update_obj.valid <= forms.models.VALID_UNSET:
     407        message = "You are not listed as a student. While you're welcome to confirm your membership in groups anyway, you will not count towards the five student member requirement. If you are a student, please contact asa-exec so that we can correct our records."
     408        message_type = "warn"
     409
    406410    # Handle the single group add/remove forms
    407411    # * removing previously confirmed groups
  • asadb/template/membership/confirm.html

    r21c6ad4 r11941e1  
    1414<p>
    1515The ASA is attempting to verify that all currently recognized groups are active
    16 and have at least five members.
     16and have at least five student members.
    1717</p>
    1818
Note: See TracChangeset for help on using the changeset viewer.