1 {% load i18n extra_tags email_tags %}
4 prefix = settings.EMAIL_SUBJECT_PREFIX
5 app_name = 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 }}}">
17 {% if user.is_authenticated %}
18 {{ user.username }} <br /> {% trans "email" %}:{{ user.email }}
20 {% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}
21 {% if email %}{% trans "email" %}:{{ email }}{% endif %}
28 {% trans "Message body:" %} {{ message }}
33 {% textcontent notifications/base_text.html %}
34 {% if user.is_authenticated %}
35 {% trans "Sender" %}: {{ user.username }}
36 {% trans "email" %}: {{ user.email }}
38 {% trans "Sender" %}: {% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}
39 {% if email %}{% trans "email" %}: {{ email }}{% endif %}
43 {% trans "Message body:" %} {{ message }}