mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Put URL to service in request to go live ticket
So that: - we know what environment the request has come from - a platform admin user can jump straight to that service to check it out
This commit is contained in:
@@ -102,7 +102,7 @@ def service_request_to_go_live(service_id):
|
|||||||
current_user.name,
|
current_user.name,
|
||||||
current_user.email_address,
|
current_user.email_address,
|
||||||
current_service['name'],
|
current_service['name'],
|
||||||
current_service['id'],
|
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
||||||
form.usage.data
|
form.usage.data
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ def test_should_redirect_after_request_to_go_live(
|
|||||||
data={
|
data={
|
||||||
'subject': 'Request to go live',
|
'subject': 'Request to go live',
|
||||||
'department_id': ANY,
|
'department_id': ANY,
|
||||||
'message': 'From Test User <test@user.gov.uk> on behalf of Test Service (6ce466d0-fd6a-11e5-82f5-e0accb9d11a6)\n\nUsage estimate\n---\n\nOne million messages', # noqa
|
'message': 'From Test User <test@user.gov.uk> on behalf of Test Service (http://localhost/services/6ce466d0-fd6a-11e5-82f5-e0accb9d11a6/dashboard)\n\nUsage estimate\n---\n\nOne million messages', # noqa
|
||||||
'person_email': ANY
|
'person_email': ANY
|
||||||
},
|
},
|
||||||
headers=ANY
|
headers=ANY
|
||||||
|
|||||||
Reference in New Issue
Block a user