Files
notifications-admin/app/templates/go-live-request.txt
Chris Hill-Scott eefc903b25 Move ‘can’t tell’ message to Jinja
Human readable content like this doesn’t really belong in the model
layer, it’s more natural to have it in the presentation layer.
2021-10-15 09:23:31 +01:00

30 lines
1.5 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.
Service: {{ current_service.name }}
{{ url_for('main.service_dashboard', service_id=current_service.id, _external=True) }}
---
Organisation type: {{ current_service.organisation_type_label }}
Agreement signed:
{%- if current_service.organisation.agreement_signed %} Yes, on behalf of {{ current_service.organisation.name }}.
{%- elif current_service.organisation.name %} {{ current_service.organisation.as_agreement_statement_for_go_live_request }}
{%- else %} Cant tell (domain is {{ current_user.email_domain }}).
{%- endif %}
{%- if current_service.organisation.request_to_go_live_notes %} {{ current_service.organisation.request_to_go_live_notes }}{% endif %}
{%- if current_service.organisation.agreement_signed_by %}
Agreement signed by: {{ current_service.organisation.agreement_signed_by.email_address }}
{% endif -%}
{%- if current_service.organisation.agreement_signed_on_behalf_of_email_address -%}
Agreement signed on behalf of: {{ current_service.organisation.agreement_signed_on_behalf_of_email_address }}
{%- endif %}
Emails in next year: {{ current_service.volume_email|format_thousands }}
Text messages in next year: {{ current_service.volume_sms|format_thousands }}
Letters in next year: {{ current_service.volume_letter|format_thousands }}
Consent to research: {{ current_service.consent_to_research|format_yes_no }}
Other live services for that user: {{ current_user.live_services|format_yes_no }}
Service reply-to address: {{ current_service.default_email_reply_to_address or "not set" }}
---
Request sent by {{ current_user.email_address }}