X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/5f47561def34f5a8a807e6e0cca5ccc4ca6a87a2..1d2ed435b83b7f428e0615f7a78e21e8672c3c75:/forum/skins/default/templates/notifications/base.html diff --git a/forum/skins/default/templates/notifications/base.html b/forum/skins/default/templates/notifications/base.html index 9783bc7..ca1f5f6 100644 --- a/forum/skins/default/templates/notifications/base.html +++ b/forum/skins/default/templates/notifications/base.html @@ -1,49 +1,35 @@ {% load extra_filters extra_tags i18n email_tags %} {% declare %} - logo_location := os.path.join(str(settings.UPFILES_FOLDER), os.path.basename(str(settings.APP_LOGO))) + p_style = settings.EMAIL_PARAGRAPH_STYLE + a_style = settings.EMAIL_ANCHOR_STYLE + hr_style = "color:#ccc;border:0;height:1px;background-color:#ccc;margin-bottom:20px;" + small_style = "color:#333333;font-family:'Lucida Grande', Trebuchet, Helvetica, sans-serif;font-size:12px;" + table_style = "border:20px %s solid;margin:10px auto 10px auto;width:750px;text-align:left;" % settings.EMAIL_BORDER_COLOR {% enddeclare %} -{% embedmedia logo_location as logo %} - - - - - - - - {{settings.APP_TITLE}} logo - -
-

{{ settings.APP_TITLE }}

-

-
-
-
- {% block content%} - {% endblock%} -
-
-
-
- - \ No newline at end of file + + + + + +
+ +
+{{settings.APP_TITLE}} +
+{% if not exclude_greeting %} +

{% trans "Hello" %} {{ recipient.username }},

+{% endif %} +{% 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" %} +{% trans "here" %}. +{% endif %} +

+
+

{{ settings.EMAIL_FOOTER_TEXT }}

+
+
+ +