X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/58f020d4fab8251103edb89bfc4cf5d5d389d1ad..0a956f5ab638ecce28608fd8f48bd7c9f761ba63:/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 8d31c30..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%} {% trans "Thanks" %}, {{settings.APP_SHORT_NAME}} +{% 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 %} +{{ 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