app/soc/models/org_app.py
changeset 1149 c8d2bd7be24f
parent 970 8b5611d5b053
child 1229 ec3768cbf369
equal deleted inserted replaced
1148:90830679b60c 1149:c8d2bd7be24f
    65       'What is the main development mailing list for your group?'
    65       'What is the main development mailing list for your group?'
    66       ' (optional)'))
    66       ' (optional)'))
    67   dev_mailing_list.help_text = ugettext(
    67   dev_mailing_list.help_text = ugettext(
    68     'Mailing list email address, URL to sign-up page, etc.')
    68     'Mailing list email address, URL to sign-up page, etc.')
    69 
    69 
    70   backup_admin = db.ReferenceProperty(reference_class=soc.models.user.User,
       
    71     required=False,  collection_name='backup_admin_app',
       
    72     verbose_name=ugettext(
       
    73       'Please select your backup group administrator (if there is one).'
       
    74       ' They will be emailed to confirm, and this group will not be '
       
    75       ' accepted until they respond. (optional).'))
       
    76   backup_admin.redirect_url = soc.models.user.User.URL_NAME
       
    77 
       
    78   contrib_template = db.ReferenceProperty(
    70   contrib_template = db.ReferenceProperty(
    79     reference_class=soc.models.document.Document, required=False,
    71     reference_class=soc.models.document.Document, required=False,
    80     collection_name='org_app_contrib_template',
    72     collection_name='org_app_contrib_template',
    81     verbose_name=ugettext(
    73     verbose_name=ugettext(
    82       'Please select the application template you would like contributors'
    74       'Please select the application template you would like contributors'
    86     ' and other non-member participants, when they apply to contribute'
    78     ' and other non-member participants, when they apply to contribute'
    87     ' to the organization.')
    79     ' to the organization.')
    88   contrib_template.redirect_url = soc.models.document.Document.URL_NAME
    80   contrib_template.redirect_url = soc.models.document.Document.URL_NAME
    89 
    81 
    90   contrib_disappears = db.TextProperty(required=True,
    82   contrib_disappears = db.TextProperty(required=True,
    91     verbose_text=ugettext(
    83     verbose_name=ugettext(
    92       'What is your plan for dealing with disappearing contributors?'))
    84       'What is your plan for dealing with disappearing contributors?'))
    93   contrib_disappears.help_text = ugettext(
    85   contrib_disappears.help_text = ugettext(
    94     'Contributors include students and other non-member participants.')
    86     'Contributors include students and other non-member participants.')
    95 
    87 
    96   member_disappears = db.TextProperty(required=True,
    88   member_disappears = db.TextProperty(required=True,
    97     verbose_text=ugettext(
    89     verbose_name=ugettext(
    98       'What is your plan for dealing with disappearing members?'))
    90       'What is your plan for dealing with disappearing members?'))
    99   member_disappears = ugettext(
    91   member_disappears.help_text = ugettext(
   100     'Members include mentors, admininstrators, and the like.')
    92     'Members include mentors, administrators, and the like.')
   101 
    93 
   102   encourage_contribs = db.TextProperty(required=True,
    94   encourage_contribs = db.TextProperty(required=True,
   103     verbose_text=ugettext(
    95     verbose_name=ugettext(
   104       'What steps will you take to encourage contributors to interact with'
    96       'What steps will you take to encourage contributors to interact with'
   105       ' your community before, during, and after the program?'))
    97       ' your community before, during, and after the program?'))
   106   encourage_contribs.help_text = contrib_disappears.help_text
    98   encourage_contribs.help_text = contrib_disappears.help_text
   107 
    99 
   108   continued_contribs = db.TextProperty(required=True,
   100   continued_contribs = db.TextProperty(required=True,
   109     verbose_text=ugettext(
   101     verbose_name=ugettext(
   110       'What will you do to ensure that your accepted contributors stick'
   102       'What will you do to ensure that your accepted contributors stick'
   111       ' with the project after the program concludes?'))
   103       ' with the project after the program concludes?'))
   112   continued_contribs.help_text = contrib_disappears.help_text
   104   continued_contribs.help_text = contrib_disappears.help_text