X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/9e1d006070eda41708425becf5e8c9cbdb5c2053..80f9b0badde3924575c4097bf914afef3fce72e7:/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 ec4d211..bb70300 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 = smart_str(settings.EMAIL_SUBJECT_PREFIX) + app_name = smart_str(settings.APP_SHORT_NAME) exclude_greeting = True exclude_finetune = True @@ -12,14 +12,9 @@ {% subject %}{% blocktrans %}{{ prefix }} Feedback message from {{ app_name }}{% endblocktrans %}{% endsubject %} {% htmlcontent notifications/base.html %} -
- {% 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 %}
+
+ {% trans "Sender" %}:{% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %}
+ {% trans "email" %}: {{ email }}
ip: {{ ip }}