app/soc/models/program.py
changeset 2787 8408741aee63
parent 2784 801eee4eda9a
child 2813 6f7af233b5b0
equal deleted inserted replaced
2786:b06313c87817 2787:8408741aee63
    75       '<tt>Students who wish to participate can find out more about'
    75       '<tt>Students who wish to participate can find out more about'
    76       ' each mentoring organization below.</tt><br><br>'
    76       ' each mentoring organization below.</tt><br><br>'
    77       '<small><i>(rich text formatting is supported)</i></small>')
    77       '<small><i>(rich text formatting is supported)</i></small>')
    78 
    78 
    79   #: Required field storing application/tasks limit of the program.
    79   #: Required field storing application/tasks limit of the program.
    80   apps_tasks_limit = db.IntegerProperty(required=True, default=20,
    80   apps_tasks_limit = db.IntegerProperty(required=True,
    81       verbose_name=ugettext('Application/Tasks Limit'))
    81       verbose_name=ugettext('Application/Tasks Limit'))
    82   apps_tasks_limit.example_text = ugettext(
    82   apps_tasks_limit.example_text = ugettext(
    83       '<small><i>e.g.</i></small> '
    83       '<small><i>e.g.</i></small> '
    84       '<tt><b>20</b> is the student applications limit for <i>Google Summer '
    84       '<tt><b>20</b> is the student applications limit for <i>Google Summer '
    85       'of Code</i>, but <b>1</b> is the tasks limit that the student can work '
    85       'of Code</i>, but <b>1</b> is the tasks limit that the student can work '
    96       verbose_name=ugettext('Max slots per org'))
    96       verbose_name=ugettext('Max slots per org'))
    97   max_slots.help_text = ugettext(
    97   max_slots.help_text = ugettext(
    98       'The amount of slots each organization should get at most')
    98       'The amount of slots each organization should get at most')
    99 
    99 
   100   #: Required field storing slots limit of the program.
   100   #: Required field storing slots limit of the program.
   101   slots = db.IntegerProperty(required=True, default=0,
   101   slots = db.IntegerProperty(required=True,
   102       verbose_name=ugettext('Slots'))
   102       verbose_name=ugettext('Slots'))
   103   slots.example_text = ugettext(
   103   slots.example_text = ugettext(
   104       '<small><i>e.g.</i></small> '
   104       '<small><i>e.g.</i></small> '
   105       '<tt><b>500</b> might be an amount of slots for <i>Google Summer '
   105       '<tt><b>500</b> might be an amount of slots for <i>Google Summer '
   106       'of Code</i>, which indicates how many students can be accepted '
   106       'of Code</i>, which indicates how many students can be accepted '