Warn users trying to use a personalised template

Since contact lists only store the email address or phone number, this
won’t work. So we should warn people, and highlight that the
personalisation in the template is the problem, since this is what they
will need to change.
This commit is contained in:
Chris Hill-Scott
2020-03-16 10:34:05 +00:00
parent 31d2fd9b58
commit 8ba75cf6ba
3 changed files with 54 additions and 8 deletions

View File

@@ -510,7 +510,7 @@ def choose_from_contact_list(service_id, template_id):
current_service.id,
template_type=template.template_type,
),
template=current_service.get_template(template_id),
template=template,
)