backoffice: don't include custom view part in inspect URLs (#43351)
This commit is contained in:
parent
1ea7fc36dd
commit
cc6e87c793
|
@ -2695,7 +2695,8 @@ class FormBackOfficeStatusPage(FormStatusPage):
|
||||||
(get_publisher().get_backoffice_root().is_accessible('forms') or
|
(get_publisher().get_backoffice_root().is_accessible('forms') or
|
||||||
get_publisher().get_backoffice_root().is_accessible('workflows'))):
|
get_publisher().get_backoffice_root().is_accessible('workflows'))):
|
||||||
r += htmltext('<div class="extra-context">')
|
r += htmltext('<div class="extra-context">')
|
||||||
r += htmltext('<p><a href="inspect">%s</a></p>') % _('Data Inspector')
|
r += htmltext('<p><a href="%sinspect">' % formdata.get_url(backoffice=True))
|
||||||
|
r += htmltext('%s</a></p>') % _('Data Inspector')
|
||||||
r += htmltext('</div>')
|
r += htmltext('</div>')
|
||||||
|
|
||||||
return r.getvalue()
|
return r.getvalue()
|
||||||
|
|
Loading…
Reference in New Issue