trivial: remove leftover non-workflow compatibility code
This commit is contained in:
parent
f5c1079e73
commit
8bdee66be3
|
@ -113,9 +113,6 @@ class FormDefUI(object):
|
|||
if self.formdef.workflow:
|
||||
for status in self.formdef.workflow.possible_status:
|
||||
r += htmltext('<option value="wf-%s">%s</option>') % (status.id, status.name)
|
||||
else: # COMPAT (behaviour when no workflow)
|
||||
for label in ('new', 'accepted', 'finished', 'rejected'):
|
||||
r += htmltext('<option value="%s">%s</option>') % (label, _(status_labels[label]))
|
||||
r += htmltext('</select>')
|
||||
r += htmltext('</td>')
|
||||
r += htmltext('</tr>')
|
||||
|
|
Loading…
Reference in New Issue