Changeset c7b6a3a


Ignore:
Timestamp:
Nov 13, 2012, 5:29:14 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
6fa456d
Parents:
bcd1b62
git-author:
Alex Dehnert <adehnert@…> (11/13/12 05:27:13)
git-committer:
Alex Dehnert <adehnert@…> (11/13/12 05:29:14)
Message:

Membership update: move deadlines into the DB

Move the "Deadlines and Enforcement" section of the membership update form from
the template into the database, so people who aren't DB maintainers can update
the deadlines for future cycles. Fixes ASA-#176.

Location:
asadb
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/models.py

    rbda4d86 rc7b6a3a  
    141141    slug = models.SlugField(unique=True, )
    142142    create_date = models.DateTimeField(default=datetime.datetime.now)
     143    deadlines = models.TextField(blank=True)
    143144
    144145    def __unicode__(self, ):
  • asadb/forms/views.py

    rbda4d86 rc7b6a3a  
    361361        'form':form,
    362362        'group':group_obj,
     363        'cycle':cycle,
    363364        'confirm_uri': confirm_uri,
    364365        'pagename':'groups',
  • asadb/template/membership/update.html

    rbcd1b62 rc7b6a3a  
    1818<p><a href='#components'>Details on each component</a> and the <a href='#form'>main form</a> are available below.</p>
    1919
     20{% if cycle.deadlines %}
    2021<h2><a name='deadlines'></a>Deadlines and Enforcement</h2>
    21 
    22 <p>This form is due by Friday October 7th at 11:59PM. This is very important for confirming that your group is active, so groups that don't submit this form by that date will be fined $50. Groups that still haven't submitted this by Friday October 21st will be fined an additional $50 and will be suspended. Finally, groups that haven't submitted this by November 4th will be derecognized.</p>
     22<p>{{cycle.deadlines}}</p>
     23{% endif %}
    2324
    2425<h2><a name='components'></a>Components</h2>
Note: See TracChangeset for help on using the changeset viewer.