/[pac]/pac/PACDefault/ActionRecipientList.py
ViewVC logotype

Diff of /pac/PACDefault/ActionRecipientList.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by tvon, Sun Oct 12 02:05:46 2003 UTC revision 1.13 by tvon, Sun Oct 12 03:33:23 2003 UTC
# Line 27  schema = BaseSchema + Schema(( Line 27  schema = BaseSchema + Schema((
27              description="If the Uninted States is one of the countries, select the states that will be involved in this action"),              description="If the Uninted States is one of the countries, select the states that will be involved in this action"),
28          vocabulary='getUSStates',          vocabulary='getUSStates',
29          ),          ),
30        LinesField('usGroup',
31            widget=MultiSelectionWidget(label='Participating US Groups',
32                description="If the Uninted States is one of the countries, select the political groups that will be involved"),
33            vocabulary='getUSGroups',
34            ),
35      StringField('currentOffice',      StringField('currentOffice',
36          widget=StringWidget(label='Current Office',          widget=StringWidget(label='Current Office',
37              description="To restrict this action to a perticular office or position."),              description="To restrict this action to a perticular office or position."),
# Line 84  class ActionRecipientList(TemplateMixin, Line 89  class ActionRecipientList(TemplateMixin,
89    
90          return result          return result
91    
92        def getUSGroups(self):
93            return DisplayList((
94                ('US-House', 'U.S. House'),
95                ('US-Senate', 'U.S. Senate'),
96                ('State-House', 'State House'),
97                ('State-Senate', 'State Senate'),
98                ))
99    
100    
101  registerType(ActionRecipientList)  registerType(ActionRecipientList)

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26