Files
notifications-admin/app/templates/support-tickets/go-live-request.txt
Katie Smith aef83ad261 Add link to user page to go live tickets
This adds a link to the user profile of the person who requested to go
live for "Request to go live" Zendesk tickets. Viewing a user's profile
page helps us to check for duplicate organisations and services from
that user.
2021-12-10 11:51:04 +00:00

35 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% set service = current_service -%}
{% set organisation = service.organisation -%}
{% set user = current_user -%}
Service: {{ service.name }}
{{ url_for('main.service_dashboard', service_id=service.id, _external=True) }}
---
Organisation type: {{ service.organisation_type_label }}
Agreement signed: {{ organisation.agreement_signed|format_yes_no(none='Cant tell') }}
{%- if organisation.agreement_signed %}, for {{ current_service.organisation.name }}
{%- elif organisation.name %} (organisation is {{ organisation.name }}, {{ organisation.crown|format_yes_no(yes='a crown body', no='a non-crown body', none='crown status unknown') }})
{%- else %} (domain is {{ user.email_domain }})
{%- endif %}.
{%- if organisation.request_to_go_live_notes %} {{ organisation.request_to_go_live_notes }}{% endif %}
{%- if organisation.agreement_signed_by %}
Agreement signed by: {{ organisation.agreement_signed_by.email_address }}
{% endif -%}
{%- if organisation.agreement_signed_on_behalf_of_email_address -%}
Agreement signed on behalf of: {{ organisation.agreement_signed_on_behalf_of_email_address }}
{%- endif %}
Emails in next year: {{ service.volume_email|format_thousands }}
Text messages in next year: {{ service.volume_sms|format_thousands }}
Letters in next year: {{ service.volume_letter|format_thousands }}
Consent to research: {{ service.consent_to_research|format_yes_no }}
Other live services for that user: {{ user.live_services|format_yes_no }}
Service reply-to address: {{ service.default_email_reply_to_address or "not set" }}
---
Request sent by {{ user.email_address }}
Requesters user page: {{ url_for('main.user_information', user_id=user.id, _external=True) }}