1 {% load extra_filters extra_tags i18n email_tags %}
4 p_style = "color:#333333;font-family:'helvetica neue', arial, Helvetica, sans-serif;line-height:18px;font-size:14px;margin-top:10px;"
5 a_style = "text-decoration:none;color:#3060a8;font-weight:bold;"
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 #e5ebf8 solid;margin:10px auto 10px auto;width:750px;text-align:left;"
13 <body style="margin:0;">
15 <table style="{{ table_style }}">
16 <tbody><tr><td style="padding:20px;">
17 <img src="{{ settings.APP_URL }}{{ settings.APP_LOGO }}" alt="{{settings.APP_TITLE}}" />
18 <hr style="{{ hr_style }}" />
19 <p style="{{ p_style }}">{% trans "Hello" %} {{ recipient.username }},</p>
22 <p style="{{ p_style }}">Thanks,<br />{{settings.APP_SHORT_NAME}}</p>
23 <p style="{{ p_style }}">P.S. You can always fine-tune which notifications you receive
24 <a href="{{ settings.APP_URL }}{% url user_subscriptions id=recipient.id %}" style="{{ a_style }}">here</a>.
26 <hr style="{{ hr_style }}" />
27 <p style="{{ p_style }}"><small style="{{ small_style }}">{{ settings.EMAIL_CAN_SPAM }}</small></p>
28 </td></tr></tbody></table>