Return to a template’s folder after deleting it

It’s disconcerting going back to the root if a template is in a deeply
nested folder. Especially if you’re trying to delete multiple templates.
This commit is contained in:
Chris Hill-Scott
2019-02-13 17:46:35 +00:00
parent 46b56c950d
commit a7b090d287
2 changed files with 30 additions and 32 deletions

View File

@@ -631,6 +631,7 @@ def delete_service_template(service_id, template_id):
return redirect(url_for(
'.choose_template',
service_id=service_id,
template_folder_id=template['folder'],
))
try: