Changeset 6070
- Timestamp:
- 13 May 2011, 15:58:57 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6069 r6070 160 160 label = 'Add applicants container' 161 161 pnav = 3 162 162 163 form_fields = grok.AutoFields(IApplicantsContainerAdd) 163 # hier muessen noch die widgets fuer die Datumsfelder rein 164 form_fields['startdate'].custom_widget = FriendlyDateDisplayWidget('le') 165 form_fields['enddate'].custom_widget = FriendlyDateDisplayWidget('le') 166 form_fields['description'].custom_widget = ReSTWidget 164 167 165 168 @grok.action('Add applicants container') … … 274 277 grok.context(IApplicantsContainer) 275 278 grok.view(ApplicantsContainerPage) 276 text = 'Manage '279 text = 'Manage applicants container' 277 280 278 281 -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/container.py
r6069 r6070 36 36 #grok.provides(IApplicantsContainer) 37 37 38 title = u'Simple applicant container'38 title = u'Simple applicants container' 39 39 description = u'Simple container for regular applicants' 40 40 startdate = None … … 80 80 """ 81 81 grok.implements(IApplicantsContainerProvider) 82 grok.name('waeup.sirp.applicant .ApplicantsContainer')82 grok.name('waeup.sirp.applicants.ApplicantsContainer') 83 83 84 84 factory = ApplicantsContainer -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r6069 r6070 127 127 128 128 provider = schema.Choice( 129 title = u' Type of applicants stored here.',129 title = u'Applicants container type', 130 130 required = True, 131 131 default = None, … … 134 134 135 135 title = schema.TextLine( 136 title = u'Title of the type of applicants stored here .',136 title = u'Title of the type of applicants stored here', 137 137 required = True, 138 138 default = u'Untitled', … … 142 142 title = u'Human readable description in reST format', 143 143 required = False, 144 default = u'No t set.'144 default = u'No description yet.' 145 145 ) 146 146
Note: See TracChangeset for help on using the changeset viewer.