app/soc/models/role.py
changeset 2698 5783338b2c8d
parent 2264 c8697d928065
child 2768 97a1569b2743
equal deleted inserted replaced
2697:91f495e886f8 2698:5783338b2c8d
   237 
   237 
   238   #: field storing whether the User has agreed to publish his location
   238   #: field storing whether the User has agreed to publish his location
   239   publish_location = db.BooleanProperty(required=False, default=False,
   239   publish_location = db.BooleanProperty(required=False, default=False,
   240       verbose_name=ugettext('Publish my location'))
   240       verbose_name=ugettext('Publish my location'))
   241   publish_location.help_text = ugettext(
   241   publish_location.help_text = ugettext(
   242       'By checking this box, you are agreeing to allow the Program Owner'
   242       'By checking this box, you are agreeing to allow your location to be'
   243       ' to display your location (City, State/Province, Country level only)'
   243       ' displayed, as given by the Marker below, on any map.'
   244       ' on any map. For instance on the map linking Students to Mentors or'
   244       ' For instance on the map linking Students to Mentors or'
   245       ' by showing your location on your public profile page in the system.')
   245       ' by showing your location on your public profile page in the system.')
       
   246   publish_location.example_text = ugettext('You can set your location below')
   246   publish_location.group = ugettext("2. Contact Info (Private)")
   247   publish_location.group = ugettext("2. Contact Info (Private)")
   247 
   248 
   248   #: Optional field containing a separate shipping street address; kept
   249   #: Optional field containing a separate shipping street address; kept
   249   #: private.  If shipping address is not present in its entirety, the
   250   #: private.  If shipping address is not present in its entirety, the
   250   #: residence address will be used instead.  Shipping street address can only
   251   #: residence address will be used instead.  Shipping street address can only
   295       verbose_name=ugettext('Shipping ZIP/Postal Code'))
   296       verbose_name=ugettext('Shipping ZIP/Postal Code'))
   296   ship_postalcode.help_text = ugettext(
   297   ship_postalcode.help_text = ugettext(
   297       '<a href="http://en.wikipedia.org/wiki/ASCII">ASCII</a> characters only'
   298       '<a href="http://en.wikipedia.org/wiki/ASCII">ASCII</a> characters only'
   298       'fill in only if not same as above')
   299       'fill in only if not same as above')
   299   ship_postalcode.group = ugettext("3. Shipping Info (Private and Optional)")
   300   ship_postalcode.group = ugettext("3. Shipping Info (Private and Optional)")
   300   
       
   301 
   301 
   302   #====================================================================
   302   #====================================================================
   303   # (private) personal information
   303   # (private) personal information
   304   #====================================================================
   304   #====================================================================
   305 
   305