]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/notifications/base.html
Remove footer link to squatted domain
[osqa.git] / forum / skins / default / templates / notifications / base.html
1 {% load extra_filters extra_tags i18n email_tags %}
2
3 {% declare %}
4     p_style = smart_str(settings.EMAIL_PARAGRAPH_STYLE)
5     a_style = smart_str(settings.EMAIL_ANCHOR_STYLE)
6     hr_style = "color:#ccc;border:0;height:1px;background-color:#ccc;margin-bottom:20px;"
7     small_style = "color:#333333;font-family:'Lucida Grande', Trebuchet, Helvetica, sans-serif;font-size:12px;"
8     table_style = "border:20px %s solid;margin:10px auto 10px auto;width:750px;text-align:left;" % settings.EMAIL_BORDER_COLOR
9 {% enddeclare %}
10 <html>
11 <head>
12 <base href="{{ settings.APP_URL }}">
13 </head>
14 <body style="margin:0;">
15 <center>
16 <table style="{{ table_style }}">
17 <tbody><tr><td style="padding:20px;">
18 <a href="{{ settings.APP_URL }}" style="border: 0;"><img src="{{ settings.APP_URL }}{{ settings.APP_LOGO }}" alt="{{settings.APP_TITLE}}" border="0"/></a>
19 <hr style="{{ hr_style }}" />
20 {% if not exclude_greeting %}
21 <p style="{{ p_style }}">{% trans "Hello" %} {{ recipient.username }},</p>
22 {% endif %}
23 {% block content %}{% endblock%}
24 <p style="{{ p_style }}">{% trans "Thanks" %},<br />{{settings.APP_SHORT_NAME}}</p>
25 {% if not exclude_finetune %}
26 <p style="{{ p_style }}">{% trans "P.S. You can always fine-tune which notifications you receive" %}
27 <a href="{{ settings.APP_URL }}{{ recipient.get_user_subscriptions_url }}" style="{{ a_style }}">{% trans "here" %}</a>.
28 {% endif %}
29 </p>
30 <hr style="{{ hr_style }}" />
31 <p style="{{ p_style }}"><small style="{{ small_style }}">{{ settings.EMAIL_FOOTER_TEXT }}</small></p>
32 </td></tr></tbody></table>
33 </center>
34 </body>
35 </html>