summaryrefslogtreecommitdiffstats
path: root/templates/feedback_email.txt
blob: df76818056eda2c24e5d9c0af6f29a4bd193acd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% load i18n %}
{% spaceless %}
{% blocktrans with settings.APP_TITLE|safe as site_title %}
Hello, this is a {{site_title}} forum feedback message
{% endblocktrans %}
{% endspaceless %}

{% spaceless %}
{% trans "Sender is" %}
{% if user.is_authenticated %}
    {{user.username|safe}} {% trans "email" %}:{{user.email|safe}} 
{% else %}
    {% if name %}{{name|safe}}{% else %}{% trans "anonymous" %}{% endif %}
    {% if email %}{% trans "email" %}:{{email|safe}}{% endif %}
{% endif %}
    ip:{{request.META.REMOTE_ADDR}}
{% endspaceless %}

{% trans "Message body:" %} {{message|safe}}