diff --git a/mails/templates/mail_templates/partners_followup_mail.html b/mails/templates/mail_templates/partners_followup_mail.html index bceea0343f05111cff171992dfa23f7d7b36dab7..cea1dce97c43ceafa3ea6039a435a207799f9277 100644 --- a/mails/templates/mail_templates/partners_followup_mail.html +++ b/mails/templates/mail_templates/partners_followup_mail.html @@ -1,5 +1,5 @@ <p> - Dear {{ contact.get_title_display }} {{ contact.last_name }}, + Dear {% if contact %}{{ contact.get_title_display }} {{ contact.last_name }}{% else %}colleagues{% endif %}, </p> <p> diff --git a/mails/templates/mail_templates/partners_initial_mail.html b/mails/templates/mail_templates/partners_initial_mail.html index 2645aa22ef54378ad35d1cce071ab9a60139fa54..97683fed31ac84a67f8afd649b53dc54966103ba 100644 --- a/mails/templates/mail_templates/partners_initial_mail.html +++ b/mails/templates/mail_templates/partners_initial_mail.html @@ -1,5 +1,5 @@ <p> - Dear {{ contact.get_title_display }} {{ contact.last_name }}, + Dear {% if contact %}{{ contact.get_title_display }} {{ contact.last_name }}{% else %}colleagues{% endif %}, </p> <p>