Changeset 6320 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 10 Jun 2011, 01:54:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6319 r6320 425 425 timestamp = datetime.now().strftime("%d/%m/%Y %H:%M") 426 426 transition_title = TRANSITION_DICT['start'] 427 self.context[pin].messages += '<br />%s - %s' % (timestamp,transition_title) 427 self.context[pin].messages += '<br />%s - %s' % ( 428 timestamp,transition_title) 428 429 self.redirect(self.url(self.context[pin], 'edit')) 429 430 return … … 448 449 grok.name('index') 449 450 grok.require('waeup.handleApplication') 450 form_fields = grok.AutoFields(IApplicant).omit('locked').omit('course_admitted') 451 form_fields = grok.AutoFields(IApplicant).omit( 452 'locked').omit('course_admitted') 451 453 #form_fields['fst_sit_results'].custom_widget = list_results_display_widget 452 454 form_fields['passport'].custom_widget = ThumbnailWidget … … 516 518 @property 517 519 def getTransitions(self): 518 allowed_transitions_ids = IWorkflowInfo(self.context).getManualTransitionIds() 520 allowed_transitions_ids = IWorkflowInfo( 521 self.context).getManualTransitionIds() 519 522 null_transition = [{'name': '', 'title':'No transition'}] 520 523 transitions = null_transition + [dict(
Note: See TracChangeset for help on using the changeset viewer.