- Timestamp:
- 15 Dec 2014, 12:49:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser.py
r12245 r12246 298 298 dict(name=x, title=y) for x, y in allowed_transitions] 299 299 300 @action(_(' Save'), style='primary')301 def save(self, **data):300 @action(_('Apply now'), style='primary') 301 def apply(self, **data): 302 302 form = self.request.form 303 303 if 'transition' in form and form['transition']: … … 306 306 try: 307 307 wf_info.fireTransition(transition_id) 308 self.flash(_("Transition '%s' executed." % transition_id)) 308 309 except InvalidTransitionError, error: 309 310 self.flash(error, type="warning") 310 return 311 self.redirect(self.url(self.context)) 312 return
Note: See TracChangeset for help on using the changeset viewer.