Moved the member_template field to app and removed 'optional'
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 08 Jan 2009 21:23:52 +0000
changeset 789 e55cad180973
parent 788 892877b7db07
child 790 19f8930592ed
Moved the member_template field to app and removed 'optional' Also shortened the verbose_name of the member_template field. Patch by: Sverre Rabbelier
app/soc/models/group.py
app/soc/models/group_app.py
--- a/app/soc/models/group.py	Thu Jan 08 21:23:42 2009 +0000
+++ b/app/soc/models/group.py	Thu Jan 08 21:23:52 2009 +0000
@@ -120,3 +120,12 @@
       verbose_name=ugettext_lazy('Phone Number'))
   phone.help_text = ugettext_lazy(
       'include complete international calling number with country code')
+
+  member_template = db.ReferenceProperty(
+    reference_class=soc.models.document.Document, required=False,
+    collection_name='group_app_member_template',
+    verbose_name=ugettext_lazy('Application template '))
+  member_template.help_text = ugettext_lazy(
+    'This template will be presented to potential members when they'
+    ' apply to the group.')
+
--- a/app/soc/models/group_app.py	Thu Jan 08 21:23:42 2009 +0000
+++ b/app/soc/models/group_app.py	Thu Jan 08 21:23:52 2009 +0000
@@ -78,23 +78,22 @@
     verbose_name=ugettext_lazy(
       'Has your group participated previously?'
       ' If so, please summarize your involvement and any past successes'
-      ' and failures. (optional)'))
+      ' and failures.'))
 
   prior_application = db.TextProperty(required=False,
     verbose_name=ugettext_lazy(
       'If your group has not previously participated, have you applied in'
-      ' the past?  If so, for what sort of participation? (optional)'))
+      ' the past?  If so, for what sort of participation?'))
 
   pub_mailing_list = db.StringProperty(required=False,
     verbose_name=ugettext_lazy(
-      'What is the main public mailing list for your group? (optional)'))
+      'What is the main public mailing list for your group?'))
   pub_mailing_list.help_text = ugettext_lazy(
     'Mailing list email address, URL to sign-up page, etc.')
 
   irc_channel = db.StringProperty(required=False,
     verbose_name=ugettext_lazy(
-      'Where is the main IRC channel for your group?'
-      ' (optional)'))
+      'Where is the main IRC channel for your group?'))
   irc_channel.help_text = ugettext_lazy('IRC network and channel.')
 
   backup_admin = db.ReferenceProperty(reference_class=soc.models.user.User,
@@ -106,15 +105,5 @@
     verbose_name=ugettext_lazy(
       'What criteria do you use to select the members of your group?'
       ' Please be as specific as possible.'))
-  member_disappears = ugettext_lazy(
+  member_criteria.help_text = ugettext_lazy(
     'Members include mentors, admininstrators, and the like.')
-
-  member_template = db.ReferenceProperty(
-    reference_class=soc.models.document.Document, required=False,
-    collection_name='group_app_member_template',
-    verbose_name=ugettext_lazy(
-      'Please select the application template you would like potential'
-      ' members of your group to use.  (optional).'))
-  member_template.help_text = ugettext_lazy(
-    'This template will be presented to potential members when they'
-    ' apply to the group.')