From b445175131221f2e31567de5f3f89d7e0056979a Mon Sep 17 00:00:00 2001 From: John White Date: Mon, 13 Apr 2020 14:01:52 -0500 Subject: [PATCH] [MBRA-1] - Fix formatting issue with voicemail to email HTML template (#6473) Address a small formatting issue with the template where the `if` block for media file attachment was not wrapping to a new line in the template preview. - adds a missing opening tag - wrap voicemail media file condition in a pre tag to wrap to a new line in branding app template viewer --- applications/teletype/priv/templates/voicemail_to_email.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/applications/teletype/priv/templates/voicemail_to_email.html b/applications/teletype/priv/templates/voicemail_to_email.html index 6720396f851..52047dd9bcc 100644 --- a/applications/teletype/priv/templates/voicemail_to_email.html +++ b/applications/teletype/priv/templates/voicemail_to_email.html @@ -40,12 +40,15 @@

Hi{% if user.first_name %} {{user.first_name}}{% endif %},

+

You have a new voicemail from {{caller_id.name_number}} for your voicemail box at {{voicemail.vmbox_name}} ({{voicemail.vmbox_number}}). +

                         {% if voicemail.file_name %}
                             

Please find the message audio file in the attachment. {% endif %} -

+
+