0001-backoffice-add-return-button-in-sidebar-49073.patch
wcs/backoffice/management.py | ||
---|---|---|
2705 | 2705 |
r = TemplateIO(html=True) |
2706 | 2706 | |
2707 | 2707 |
if not formdata.is_draft(): |
2708 |
r += htmltext('<p><a class="button" href="..">%s</a></p>') % _('Back to Listing') |
|
2708 | 2709 |
r += htmltext('<div class="extra-context">') |
2709 | 2710 |
if (formdata.backoffice_submission and |
2710 | 2711 |
formdata.submission_agent_id == str(get_request().user.id) and |
2711 |
- |