mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 00:20:43 -04:00
Only show back button if you’ve come from settings
You can also reach this page from the individual template view.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link=None if request.args.get('from_template') else url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user