0001-admin-use-schema.svg-in-URL-to-workflow-SVG-schema-2.patch
wcs/admin/workflows.py | ||
---|---|---|
1316 | 1316 |
class WorkflowPage(Directory): |
1317 | 1317 |
_q_exports = ['', 'edit', 'delete', 'newstatus', ('status', 'status_dir'), 'update_order', |
1318 | 1318 |
'duplicate', 'export', 'svg', ('variables', 'variables_dir'), 'inspect', |
1319 |
('schema.svg', 'svg'), |
|
1319 | 1320 |
('backoffice-fields', 'backoffice_fields_dir'), |
1320 | 1321 |
'update_actions_order', 'update_criticality_levels_order', |
1321 | 1322 |
('functions', 'functions_dir'), ('global-actions', 'global_actions_dir'), |
... | ... | |
1504 | 1505 |
if self.workflow.possible_status: |
1505 | 1506 |
r += htmltext('<div class="bo-block">') |
1506 | 1507 |
r += htmltext(graphviz(self.workflow, include=True)) |
1507 |
r += htmltext('<div class="full-screen-link"><a href="svg">%s</a></div>') % _('Full Screen') |
|
1508 |
r += htmltext('<div class="full-screen-link"><a href="schema.svg">%s</a></div>') % _('Full Screen')
|
|
1508 | 1509 |
r += htmltext('</div>') # bo-block |
1509 | 1510 | |
1510 | 1511 |
formdefs = [x for x in FormDef.select() if x.workflow_id == self.workflow.id] |
1511 |
- |