workflow: always embed graph in a bo-block, so it keeps its place

This commit is contained in:
Frédéric Péters 2012-08-16 11:32:16 +02:00
parent 20ea4104cc
commit 2fc7b0b6dd
1 changed files with 4 additions and 0 deletions

View File

@ -280,8 +280,12 @@ class WorkflowStatusPage(Directory):
'%s - %s</h2>' % (self.workflow.name, self.status.name)
get_session().display_message()
'<div class="bo-block">'
'<h3>%s ' % _('Possible Status:')
'%s</h3>' % self.status.name
htmltext(graphviz(self.workflow, url_prefix='../../', include=True,
select='%s' % self.status.id))
'</div>'
'<div class="bo-block">'
if not self.status.items: