mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
Fix template type selector to preserve current folder
This commit is contained in:
@@ -108,7 +108,15 @@ def start_tour(service_id, template_id):
|
||||
def choose_template(service_id, template_type='all', template_folder_id=None):
|
||||
|
||||
template_nav_items = [
|
||||
(label, key, url_for('.choose_template', service_id=current_service.id, template_type=key), '')
|
||||
(
|
||||
label,
|
||||
key,
|
||||
url_for(
|
||||
'.choose_template', service_id=current_service.id,
|
||||
template_type=key, template_folder_id=template_folder_id
|
||||
),
|
||||
''
|
||||
)
|
||||
for label, key in filter(None, [
|
||||
('All', 'all'),
|
||||
('Text message', 'sms'),
|
||||
|
||||
Reference in New Issue
Block a user