Project

General

Profile

0001-backoffice-rename-buttons-linking-inspect-page-to-fo.patch

Frédéric Péters, 08 Feb 2019 02:07 PM

Download (1.27 KB)

View differences:

Subject: [PATCH] backoffice: rename buttons linking inspect page to
 form/workflow (#30486)

 wcs/backoffice/management.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
wcs/backoffice/management.py
2353 2353
        r += htmltext('<span class="actions">')
2354 2354
        if get_publisher().get_backoffice_root().is_accessible('forms'):
2355 2355
            r += htmltext(' <a href="../../../forms/%s/">%s</a>') % (
2356
                    self.formdef.id, _('Form Definition'))
2356
                    self.formdef.id, _('View Form'))
2357 2357
        if get_publisher().get_backoffice_root().is_accessible('workflows'):
2358 2358
            r += htmltext(' <a href="../../../workflows/%s/">%s</a>') % (
2359
                    self.formdef.workflow.id, _('Workflow Definition'))
2359
                    self.formdef.workflow.id, _('View Workflow'))
2360 2360
        r += htmltext('</span>')
2361 2361
        r += htmltext('</div>')
2362 2362

  
2363
-