From 193c82105946f8138db74ab0ca2523de830e9c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 28 Oct 2018 14:38:09 +0100 Subject: [PATCH] admin: use schema.svg in URL to workflow SVG schema (#27526) --- wcs/admin/workflows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcs/admin/workflows.py b/wcs/admin/workflows.py index 78565e022..dccd494e6 100644 --- a/wcs/admin/workflows.py +++ b/wcs/admin/workflows.py @@ -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('
') r += htmltext(graphviz(self.workflow, include=True)) - r += htmltext('') % _('Full Screen') + r += htmltext('') % _('Full Screen') r += htmltext('
') # bo-block formdefs = [x for x in FormDef.select() if x.workflow_id == self.workflow.id] -- 2.19.1