admin: use schema.svg in URL to workflow SVG schema (#27526)
This commit is contained in:
parent
c017939e20
commit
ee3ebb521f
|
@ -1316,6 +1316,7 @@ class GlobalActionsDirectory(Directory):
|
|||
class WorkflowPage(Directory):
|
||||
_q_exports = ['', 'edit', 'delete', 'newstatus', ('status', 'status_dir'), 'update_order',
|
||||
'duplicate', 'export', 'svg', ('variables', 'variables_dir'), 'inspect',
|
||||
('schema.svg', 'svg'),
|
||||
('backoffice-fields', 'backoffice_fields_dir'),
|
||||
'update_actions_order', 'update_criticality_levels_order',
|
||||
('functions', 'functions_dir'), ('global-actions', 'global_actions_dir'),
|
||||
|
@ -1504,7 +1505,7 @@ class WorkflowPage(Directory):
|
|||
if self.workflow.possible_status:
|
||||
r += htmltext('<div class="bo-block">')
|
||||
r += htmltext(graphviz(self.workflow, include=True))
|
||||
r += htmltext('<div class="full-screen-link"><a href="svg">%s</a></div>') % _('Full Screen')
|
||||
r += htmltext('<div class="full-screen-link"><a href="schema.svg">%s</a></div>') % _('Full Screen')
|
||||
r += htmltext('</div>') # bo-block
|
||||
|
||||
formdefs = [x for x in FormDef.select() if x.workflow_id == self.workflow.id]
|
||||
|
|
Loading…
Reference in New Issue