diff --git a/app/main/views/service_settings.py b/app/main/views/service_settings.py index c41b08627..29a425e7f 100644 --- a/app/main/views/service_settings.py +++ b/app/main/views/service_settings.py @@ -206,6 +206,9 @@ def submit_request_to_go_live(service_id): '\nConsent to research: {research_consent}' '\nOther live services: {existing_live}' '\n' + '\n---' + '\nRequest sent by {email_address}' + '\n' ).format( service_name=current_service.name, service_dashboard=url_for('main.service_dashboard', service_id=current_service.id, _external=True), @@ -216,6 +219,7 @@ def submit_request_to_go_live(service_id): volume_letter_formatted=format_if_number(current_service.volume_letter), research_consent='Yes' if current_service.consent_to_research else 'No', existing_live='Yes' if user_api_client.user_has_live_services(current_user) else 'No', + email_address=current_user.email_address, ), ticket_type=zendesk_client.TYPE_QUESTION, user_email=current_user.email_address, diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py index e9a67b479..c9723d509 100644 --- a/tests/app/main/views/test_service_settings.py +++ b/tests/app/main/views/test_service_settings.py @@ -1384,6 +1384,9 @@ def test_should_redirect_after_request_to_go_live( '{formatted_displayed_volumes}' 'Consent to research: Yes\n' 'Other live services: No\n' + '\n' + '---\n' + 'Request sent by test@user.gov.uk\n' ).format( service_id=SERVICE_ONE_ID, displayed_volumes=displayed_volumes,