')
- for status in self.workflow.possible_status or []:
- r += htmltext(
- '
'
- % (getattr(status, 'colour', None) or 'fff')
- )
- r += htmltext('
') % (
- status.id,
- status.id,
- status.name,
- )
- if status.backoffice_info_text:
- r += htmltext('
')
- r += htmltext(status.backoffice_info_text)
- r += htmltext('
')
- if not status.items:
- r += htmltext('
%s
') % _('No actions in this status.')
- for item in status.items or []:
- r += htmltext('
') % (
- status.id,
- item.id,
- item.description,
- )
- r += item.get_parameters_view()
- r += htmltext('