workflows: make global actions allways visible (#20253)
This commit is contained in:
parent
0773410d02
commit
54d7f87e41
|
@ -101,7 +101,6 @@ def create_temporary_pub(sql_mode=False):
|
|||
fd.write('[options]\n')
|
||||
fd.write('formdef-captcha-option = true\n')
|
||||
fd.write('workflow-resubmit-action = true\n')
|
||||
fd.write('workflow-global-actions = true\n')
|
||||
fd.write('workflow-criticality-levels = true\n')
|
||||
if sql_mode:
|
||||
fd.write('postgresql = true\n')
|
||||
|
|
|
@ -1427,7 +1427,7 @@ class WorkflowPage(Directory):
|
|||
r += htmltext('</ul>')
|
||||
r += htmltext('</div>')
|
||||
|
||||
if not str(self.workflow.id).startswith('_') and get_publisher().has_site_option('workflow-global-actions'):
|
||||
if not str(self.workflow.id).startswith('_'):
|
||||
r += htmltext('<div class="bo-block">')
|
||||
r += htmltext('<h3>%s') % _('Global Actions')
|
||||
if not str(self.workflow.id).startswith('_'):
|
||||
|
|
Loading…
Reference in New Issue