X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/5cced8510af03eec1438cfefcf9f44e2e7a49087..77c7fb49881b1df98ce3584468105ba78740fd48:/forum/skins/default/templates/notifications/base_text.html diff --git a/forum/skins/default/templates/notifications/base_text.html b/forum/skins/default/templates/notifications/base_text.html index ded1e97..ec8714e 100644 --- a/forum/skins/default/templates/notifications/base_text.html +++ b/forum/skins/default/templates/notifications/base_text.html @@ -1,18 +1,17 @@ {% load extra_filters extra_tags i18n email_tags %} -{% declare %} - postal_address = "DZone, Inc. 140 Preston Executive Drive, Cary NC 27513, USA" -{% enddeclare %} - +{% if not exclude_greeting %} {% trans "Hello" %} {{ recipient.username }}, +{% endif %} -{% block content %} -{% endblock%} +{% block content %}{% endblock%} -Thanks, +{% trans "Thanks" %}, {{settings.APP_SHORT_NAME}} -P.S. You can always fine-tune which notifications you receive here: -{{ settings.APP_URL }}{% url user_subscriptions id=recipient.id %} +{% if not exclude_finetune %} +{% trans "P.S. You can always fine-tune which notifications you receive here:" %} +{{ settings.APP_URL }}{% url user_subscriptions id=recipient.id,slug=recipient.username|slugify %} +{% endif %} -{{ postal_address }} \ No newline at end of file +{{ settings.EMAIL_FOOTER_TEXT }} \ No newline at end of file