- Timestamp:
- 10 Jun 2011, 01:51:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6305 r6317 539 539 transition_id = form['transition'] 540 540 IWorkflowInfo(self.context).fireTransition(transition_id) 541 #import pdb; pdb.set_trace()542 timestamp = datetime.now().strftime("%d/%m/%Y %H:%M")543 transition_title = TRANSITION_DICT[transition_id]544 self.context.messages += '<br />%s - %s' % (timestamp,transition_title)545 541 self.flash('Form has been saved.') 546 542 return … … 607 603 return 608 604 IWorkflowInfo(self.context).fireTransition('submit') 609 timestamp = datetime.now().strftime("%d/%m/%Y %H:%M")610 transition_title = TRANSITION_DICT['submit']611 self.context.messages += '<br />%s - %s' % (timestamp,transition_title)612 605 self.context.locked = True 613 606 self.flash('Form has been submitted.')
Note: See TracChangeset for help on using the changeset viewer.