mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 01:44:08 -04:00
Keep email address in go live ticket
It’s useful because it’s not easy to see in the Zendesk UI.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user