mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Show text message sender in send one-off flow
If you’ve chosen a text message sender then it’s good to see confirmation of your choice. This replicates what we do when you choose an email reply-to address.
This commit is contained in:
@@ -48,6 +48,12 @@ $tail-angle: 20deg;
|
||||
|
||||
}
|
||||
|
||||
.sms-message-sender {
|
||||
@include copy-19;
|
||||
color: $secondary-text-colour;
|
||||
margin: 0 0 -10px 0;
|
||||
}
|
||||
|
||||
.sms-message-recipient {
|
||||
@include copy-19;
|
||||
color: $secondary-text-colour;
|
||||
|
||||
@@ -272,7 +272,7 @@ def get_template(
|
||||
page_count=1,
|
||||
redact_missing_personalisation=False,
|
||||
email_reply_to=None,
|
||||
sms_sender=None
|
||||
sms_sender=None,
|
||||
):
|
||||
if 'email' == template['template_type']:
|
||||
return EmailPreviewTemplate(
|
||||
@@ -290,6 +290,7 @@ def get_template(
|
||||
prefix=service['name'],
|
||||
show_prefix=service['prefix_sms'],
|
||||
sender=sms_sender,
|
||||
show_sender=bool(sms_sender),
|
||||
show_recipient=show_recipient,
|
||||
redact_missing_personalisation=redact_missing_personalisation,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user