equal
deleted
inserted
replaced
102 entity.view('oneline'))) |
102 entity.view('oneline'))) |
103 msg = self._cw._('status will change from %(st1)s to %(st2)s') % { |
103 msg = self._cw._('status will change from %(st1)s to %(st2)s') % { |
104 'st1': entity.cw_adapt_to('IWorkflowable').printable_state, |
104 'st1': entity.cw_adapt_to('IWorkflowable').printable_state, |
105 'st2': self._cw._(transition.destination(entity).name)} |
105 'st2': self._cw._(transition.destination(entity).name)} |
106 self.w(u'<p>%s</p>\n' % msg) |
106 self.w(u'<p>%s</p>\n' % msg) |
107 self.w(form.render()) |
107 form.render(w=self.w) |
108 |
108 |
109 def redirectpath(self, entity): |
109 def redirectpath(self, entity): |
110 return entity.rest_path() |
110 return entity.rest_path() |
111 |
111 |
112 def get_form(self, entity, transition, **kwargs): |
112 def get_form(self, entity, transition, **kwargs): |