# HG changeset patch # User Sverre Rabbelier # Date 1233174436 0 # Node ID cd6d6034b6e9a6ea700ca6c7546e5e4793de495c # Parent c532dd9def48587890722ea6a54ad2315ea94d99 Added a 'allocations_visible' property to program Patch by: Sverre Rabbelier diff -r c532dd9def48 -r cd6d6034b6e9 app/soc/models/program.py --- a/app/soc/models/program.py Wed Jan 28 20:21:15 2009 +0000 +++ b/app/soc/models/program.py Wed Jan 28 20:27:16 2009 +0000 @@ -106,3 +106,9 @@ is_enabled.help_text = ugettext( 'Field used to indicate if a Presence is enabled at all, and as such' ' accessible to non-developers.') + + #: Whether the program is enabled + allocations_visible = db.BooleanProperty(default=False, + verbose_name=ugettext('Slot allocations visible')) + allocations_visible.help_text = ugettext( + 'Field used to indicate if the slot allocations should be visible.')