diff -r e14b0995cf29 -r a878188e225c app/soc/models/program.py --- a/app/soc/models/program.py Sat Jan 31 12:59:52 2009 +0000 +++ b/app/soc/models/program.py Sat Jan 31 13:48:48 2009 +0000 @@ -100,12 +100,19 @@ required=True, collection_name="program", verbose_name=ugettext('Timeline')) - #: Whether the program is enabled - is_enabled = db.BooleanProperty(default=False, - verbose_name=ugettext('Is Enabled')) - is_enabled.help_text = ugettext( - 'Field used to indicate if a Program is enabled at all, and as such' - ' accessible to non-developers.') + #: Status of the program + #: Invisible: Program Stealth-Mode Visible to Hosts and Devs only + #: Visible: Visible to everyone. + #: Inactive: Not visible in sidebar but can be reached for date retention + #: Invalid: Not visible or editable by anyone + status = db.StringProperty(required=True, default='invisible', + verbose_name=ugettext('Program Status'), + choices=['invisible', 'visible', 'inactive', 'invalid']) + status.example_text = ugettext( + 'Invisible: Program Stealth-Mode Visible to Hosts and Devs only.
' + 'Visible: Visible to everyone.
' + 'Inactive: Not visible in sidebar, not editable.
' + 'Invalid: Not visible or editable by anyone.
') #: Whether the slots allocations are visible allocations_visible = db.BooleanProperty(default=False,