mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Add a page to view a single contact list
This commit is contained in:
@@ -433,4 +433,7 @@ def save_contact_list(service_id, upload_id):
|
||||
@main.route("/services/<uuid:service_id>/contact-list/<uuid:contact_list_id>", methods=['GET'])
|
||||
@user_has_permissions('send_messages')
|
||||
def contact_list(service_id, contact_list_id):
|
||||
return 'page for contact list {}'.format(contact_list_id)
|
||||
return render_template(
|
||||
'views/uploads/contact-list/contact-list.html',
|
||||
contact_list=ContactList.from_id(contact_list_id, service_id=service_id),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user