workflows: make global actions allways visible (#20253)

This commit is contained in:
Thomas NOËL 2017-11-24 10:22:18 +01:00
parent 0773410d02
commit 54d7f87e41
2 changed files with 1 additions and 2 deletions

View File

@ -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')

View File

@ -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('_'):