mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Added choose_service using services_dao.
This commit is contained in:
@@ -12,26 +12,26 @@
|
||||
{{ browse_list([
|
||||
{
|
||||
'title': 'Change your service name',
|
||||
'link': url_for('.name', service_id=service_id),
|
||||
'link': url_for('.service_name_change', service_id=service_id),
|
||||
'hint': 'Your service name ({}) is included in every sent notification'.format(service.name)
|
||||
},
|
||||
{
|
||||
'title': 'Request to go live and turn off sending restrictions',
|
||||
'link': url_for('.request_to_go_live', service_id=service_id),
|
||||
'link': url_for('.service_request_to_go_live', service_id=service_id),
|
||||
'hint': 'A live service can send notifications to any phone number or email address',
|
||||
} if not service.live else {
|
||||
},
|
||||
{
|
||||
'title': 'Turn off all outgoing notifications',
|
||||
'link': url_for('.status', service_id=service_id),
|
||||
'link': url_for('.service_status_change', service_id=service_id),
|
||||
'destructive': True
|
||||
} if service.active else {
|
||||
'title': 'Restart sending notifications',
|
||||
'link': url_for('.status', service_id=service_id)
|
||||
'link': url_for('.service_status_change', service_id=service_id)
|
||||
},
|
||||
{
|
||||
'title': 'Delete this service from Notify',
|
||||
'link': url_for('.delete', service_id=service_id),
|
||||
'link': url_for('.service_delete', service_id=service_id),
|
||||
'destructive': True
|
||||
},
|
||||
]) }}
|
||||
|
||||
@@ -21,7 +21,7 @@ GOV.UK Notify | Service settings
|
||||
</ul>
|
||||
|
||||
<form method="post">
|
||||
{{ textbox(form.service_name) }}
|
||||
{{ textbox(form.name) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=service_id)
|
||||
|
||||
Reference in New Issue
Block a user