X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/3be2d7d8c9405cac6abdee1ec44f53d2bcdecac8..ba9a60ad5002f1d8ea271f030f4ae5f5e898f7c7:/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 997904c..18ac9db 100644 --- a/forum/skins/default/templates/notifications/base.html +++ b/forum/skins/default/templates/notifications/base.html @@ -1,31 +1,35 @@ {% load extra_filters extra_tags i18n email_tags %} {% declare %} - p_style = "color:#333333;font-family:'helvetica neue', arial, Helvetica, sans-serif;line-height:18px;font-size:14px;margin-top:10px;" - a_style = "text-decoration:none;color:#3060a8;font-weight:bold;" + p_style = smart_str(settings.EMAIL_PARAGRAPH_STYLE) + a_style = smart_str(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 #e5ebf8 solid;margin:10px auto 10px auto;width:750px;text-align:left;" + table_style = "border:20px %s solid;margin:10px auto 10px auto;width:750px;text-align:left;" % settings.EMAIL_BORDER_COLOR {% enddeclare %} +
-{{settings.APP_TITLE}} +{{settings.APP_TITLE}}
+{% if not exclude_greeting %}

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

-{% block content %} -{% endblock%} -

Thanks,
{{settings.APP_SHORT_NAME}}

-

P.S. You can always fine-tune which notifications you receive -here. +{% 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 }}

- \ No newline at end of file +