X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c8c6b98a7b2a365878871131e0f42c40d6b499fc..19fdf3aa4fdc111f4ce142005e75f4e8f961e91e:/forum/skins/default/templates/notifications/feedback.html diff --git a/forum/skins/default/templates/notifications/feedback.html b/forum/skins/default/templates/notifications/feedback.html index 6387049..52aa6ad 100644 --- a/forum/skins/default/templates/notifications/feedback.html +++ b/forum/skins/default/templates/notifications/feedback.html @@ -1,8 +1,8 @@ {% load i18n extra_tags email_tags %} {% declare %} - prefix = settings.EMAIL_SUBJECT_PREFIX - app_name = settings.APP_SHORT_NAME + prefix = html.mark_safe(settings.EMAIL_SUBJECT_PREFIX) + app_name = html.mark_safe(settings.APP_SHORT_NAME) exclude_greeting = True exclude_finetune = True @@ -12,7 +12,7 @@ {% subject %}{% blocktrans %}{{ prefix }} Feedback message from {{ app_name }}{% endblocktrans %}{% endsubject %} {% htmlcontent notifications/base.html %} -

+

{% trans "Sender" %}:{% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}
{% trans "email" %}: {{ email }}
@@ -26,11 +26,11 @@ {% endhtmlcontent %} {% textcontent notifications/base_text.html %} -{% trans "Sender" %}: {% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %} -{% trans "email" %}: {{ email }} +{% trans "Sender" %}: {% if name %}{{ name|safe }}{% else %}{% trans "anonymous" %}{% endif %} +{% trans "email" %}: {{ email|safe }} ip: {{ ip }} -{% trans "Message body:" %} {{ message }} +{% trans "Message body:" %} {{ message|safe }} {% endtextcontent %} {% endemail %}