mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Merge pull request #2827 from alphagov/depend-on-service-volumes
When going live, make reply-to address and text message sender dependent on estimated sending volumes
This commit is contained in:
@@ -27,14 +27,21 @@
|
||||
'Add templates with examples of the content you plan to send',
|
||||
url_for('main.choose_template', service_id=current_service.id),
|
||||
) }}
|
||||
{% if current_service.has_email_templates %}
|
||||
{% if (
|
||||
current_service.has_email_templates
|
||||
and (current_service.volume_email != 0)
|
||||
) %}
|
||||
{{ task_list_item(
|
||||
current_service.has_email_reply_to_address,
|
||||
'Add an email reply-to address',
|
||||
url_for('main.service_email_reply_to', service_id=current_service.id),
|
||||
) }}
|
||||
{% endif %}
|
||||
{% if current_service.has_sms_templates and current_service.shouldnt_use_govuk_as_sms_sender %}
|
||||
{% if (
|
||||
current_service.has_sms_templates
|
||||
and current_service.shouldnt_use_govuk_as_sms_sender
|
||||
and (current_service.volume_sms != 0)
|
||||
) %}
|
||||
{{ task_list_item(
|
||||
not current_service.sms_sender_is_govuk,
|
||||
'Change your text message sender name',
|
||||
|
||||
Reference in New Issue
Block a user