mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
Merge pull request #675 from GSA/636-remove-uk-requirements
Changed link to email notify support instead of going to request to go live page
This commit is contained in:
@@ -206,7 +206,7 @@
|
|||||||
<p>
|
<p>
|
||||||
{% if current_user.has_permissions('manage_service') %}
|
{% if current_user.has_permissions('manage_service') %}
|
||||||
To remove these restrictions, you can send us a
|
To remove these restrictions, you can send us a
|
||||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.request_to_go_live', service_id=current_service.id) }}">request to go live</a>.
|
<a class="govuk-link govuk-link--no-visited-state" href="mailto:notify-support@gsa.gov">request to go live</a>.
|
||||||
{% else %}
|
{% else %}
|
||||||
Your service manager can ask to have these restrictions removed.
|
Your service manager can ask to have these restrictions removed.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -367,7 +367,8 @@ def test_show_restricted_service(
|
|||||||
|
|
||||||
if expected_link:
|
if expected_link:
|
||||||
assert request_to_live_link.text.strip() == 'request to go live'
|
assert request_to_live_link.text.strip() == 'request to go live'
|
||||||
assert request_to_live_link['href'] == url_for('main.request_to_go_live', service_id=SERVICE_ONE_ID)
|
email_address = 'notify-support@gsa.gov'
|
||||||
|
assert request_to_live_link['href'] == f'mailto:{email_address}'
|
||||||
else:
|
else:
|
||||||
assert not request_to_live_link
|
assert not request_to_live_link
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user