author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Fri, 13 Mar 2009 11:06:21 +0100 | |
changeset 1113 | 5608c79c789b |
parent 1112 | 3cfc208e385b |
child 1114 | b91c7a7e8cb0 |
--- a/web/views/boxes.py Fri Mar 13 11:05:37 2009 +0100 +++ b/web/views/boxes.py Fri Mar 13 11:06:21 2009 +0100 @@ -111,7 +111,7 @@ if transitions: menu_title = u'%s: %s' % (_('state'), state.view('text')) menu_items = [] - for tr in state.transitions(entity): + for tr in transitions: url = entity.absolute_url(vid='statuschange', treid=tr.eid) menu_items.append(self.mk_action(_(tr.name), url)) box.append(BoxMenu(menu_title, menu_items))