1 {% load i18n extra_tags email_tags %}
 
   4     prefix = smart_str(settings.EMAIL_SUBJECT_PREFIX)
 
   5     app_name = smart_str(settings.APP_SHORT_NAME)
 
   7     exclude_greeting = True
 
   8     exclude_finetune = True
 
  12     {% subject %}{% blocktrans %}{{ prefix }} Feedback message from {{ app_name }}{% endblocktrans %}{% endsubject %}
 
  14     {% htmlcontent notifications/base.html %}
 
  15         <p style="{{ p_style }}">
 
  16             {% trans "Sender" %}:{% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}<br />
 
  17             {% trans "email" %}: {{ email }}
 
  23         {% trans "Message body:" %} {{ message }}
 
  28 {% textcontent notifications/base_text.html %}
 
  29 {% trans "Sender" %}: {% if name %}{{ name|safe }}{% else %}{% trans "anonymous" %}{% endif %}
 
  30 {% trans "email" %}: {{ email|safe }}
 
  33 {% trans "Message body:" %} {{ message|safe }}