X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/19af2f15e6eb1d0ebae23433a8d2555186d96835..83decf4390facb76eddc78f75826c5a5332507c6:/forum/skins/default/templates/notifications/feedback.html?ds=sidebyside diff --git a/forum/skins/default/templates/notifications/feedback.html b/forum/skins/default/templates/notifications/feedback.html index 575afd5..52aa6ad 100644 --- a/forum/skins/default/templates/notifications/feedback.html +++ b/forum/skins/default/templates/notifications/feedback.html @@ -1,28 +1,37 @@ -{% extends "email_base.html" %} -{% load i18n %} -{% load extra_tags %} - -{% block content %} -
{% spaceless %} - {% blocktrans with settings.APP_SHORT_NAME as site_title %} - Hello, this is a {{site_title}} forum feedback message - {% endblocktrans %} - {% endspaceless %}
- -
- {% trans "Sender" %}:
- {% if user.is_authenticated %}
- {{ user.username }}
{% trans "email" %}:{{ user.email }}
- {% else %}
- {% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}
- {% if email %}{% trans "email" %}:{{ email }}{% endif %}
- {% endif %}
-
- ip: {{ ip }}
-
+{% load i18n extra_tags email_tags %} + +{% declare %} + prefix = html.mark_safe(settings.EMAIL_SUBJECT_PREFIX) + app_name = html.mark_safe(settings.APP_SHORT_NAME) + + exclude_greeting = True + exclude_finetune = True +{% enddeclare %} + +{% email %} + {% subject %}{% blocktrans %}{{ prefix }} Feedback message from {{ app_name }}{% endblocktrans %}{% endsubject %} + + {% htmlcontent notifications/base.html %} ++ + {% endhtmlcontent %} + +{% textcontent notifications/base_text.html %} +{% trans "Sender" %}: {% if name %}{{ name|safe }}{% else %}{% trans "anonymous" %}{% endif %} +{% trans "email" %}: {{ email|safe }} +ip: {{ ip }} + +{% trans "Message body:" %} {{ message|safe }} +{% endtextcontent %} + +{% endemail %} -{% endblock %}+ {% trans "Sender" %}:{% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}
+ +
+ {% trans "email" %}: {{ email }} +
+ ip: {{ ip }} +{% trans "Message body:" %} {{ message }} -+