mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Remove the ‘manage templates’ page
The ‘manage templates’ page was almost identical to the ‘send text messages’ page. This commit consolidates them into one and makes them all hang together. Part of this means tweaks to the javascript so that files upload as soon as you’ve chosen them.
This commit is contained in:
@@ -18,7 +18,7 @@ Manage users – GOV.UK Notify
|
||||
|
||||
{% if user %}
|
||||
<p class='bottom-gutter'>
|
||||
{{ user.email_localpart }}@digital.cabinet-office.gov.uk
|
||||
{{ current_user.email_address }}
|
||||
</p>
|
||||
{% else %}
|
||||
{{ textbox(form.email_address, hint='Email address must end in .gov.uk', width='1-1') }}
|
||||
@@ -37,7 +37,9 @@ Manage users – GOV.UK Notify
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
delete_link=url_for('.delete_user', service_id=service_id, user_id=user_id),
|
||||
delete_link_text='delete this account'
|
||||
delete_link_text='Delete this account',
|
||||
back_link=url_for('.manage_users', service_id=service_id),
|
||||
back_link_text='Cancel'
|
||||
) }}
|
||||
{% else %}
|
||||
{{ page_footer('Send invitation email') }}
|
||||
|
||||
Reference in New Issue
Block a user