mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Show path on template and manage folder pages
So the page headings stay consistent as you click around, and make it easy to get back where you came from.
This commit is contained in:
@@ -352,6 +352,12 @@ class Service():
|
||||
folder,
|
||||
]
|
||||
|
||||
def get_template_path(self, template):
|
||||
return [
|
||||
self.get_template_folder(template['folder']),
|
||||
template,
|
||||
]
|
||||
|
||||
def get_template_folders_and_templates(self, template_type, template_folder_id):
|
||||
return (
|
||||
self.get_templates(template_type, template_folder_id) +
|
||||
|
||||
Reference in New Issue
Block a user