mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Update templates.py
This commit is contained in:
@@ -682,8 +682,10 @@ def count_content_length(service_id, template_type):
|
|||||||
|
|
||||||
def _get_content_count_error_and_message_for_template(template):
|
def _get_content_count_error_and_message_for_template(template):
|
||||||
if template.template_type == "sms":
|
if template.template_type == "sms":
|
||||||
s1 = "<html><body>Looks like your template may have one of these characters " \
|
s1 = (
|
||||||
"• ™ ∞ ≤ or ≥ or emoji, which won't save."
|
"<html><body>Looks like your template may have one of these characters "
|
||||||
|
"• ™ ∞ ≤ or ≥ or emoji, which won't save."
|
||||||
|
)
|
||||||
s2 = "<br>Please remove any unaccepted characters or emojis and try again.</body></html>"
|
s2 = "<br>Please remove any unaccepted characters or emojis and try again.</body></html>"
|
||||||
|
|
||||||
# Define characters that should be blocked
|
# Define characters that should be blocked
|
||||||
|
|||||||
Reference in New Issue
Block a user