Changeset a50f67b
- Timestamp:
- Oct 6, 2012, 8:04:31 PM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 670a2bd
- Parents:
- 826a126
- git-author:
- Alex Dehnert <adehnert@…> (10/06/12 20:04:31)
- git-committer:
- Alex Dehnert <adehnert@…> (10/06/12 20:04:31)
- File:
-
- 1 edited
-
asadb/forms/views.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
rcbdbd1f ra50f67b 399 399 if group in update_obj.groups.all(): 400 400 update_obj.groups.remove(group) 401 message = "You have been successfully removed from%s." % (group, )401 message = "You have successfully unconfirmed membership in %s." % (group, ) 402 402 else: 403 message = " Sorry, but you're notin %s." % (group, )403 message = "Removal failed because you had not confirmed membership in %s." % (group, ) 404 404 message_type = "warn" 405 405 elif request.POST['action'] == 'add': 406 406 if group in update_obj.groups.all(): 407 message = " Sorry, but you're already in %s." % (group, )407 message = "Membership in %s already confirmed." % (group, ) 408 408 message_type = "warn" 409 409 else: 410 410 update_obj.groups.add(group) 411 message = "You have been successfully added to%s." % (group, )411 message = "You have successfully confirmed membership in %s." % (group, ) 412 412 else: 413 413 message = "Uh, somehow you tried to do something besides adding and removing..."
Note: See TracChangeset
for help on using the changeset viewer.