1 {% load extra_filters extra_tags i18n email_tags %}
4 logo_location = "http://meta.osqa.net/upfiles/osqa_logo.png"
5 p_style = "color:#333333;font-family:'helvetica neue', arial, Helvetica, sans-serif;line-height:18px;font-size:14px;margin-top:10px;"
6 a_style = "text-decoration:none;color:#3060a8;font-weight:bold;"
7 hr_style = "color:#ccc;border:0;height:1px;background-color:#ccc;margin-bottom:20px;"
8 small_style = "color:#333333;font-family:'Lucida Grande', Trebuchet, Helvetica, sans-serif;font-size:12px;"
9 table_style = "border:20px #e5ebf8 solid;margin:10px auto 10px auto;width:750px;text-align:left;"
10 postal_address = "DZone, Inc. 140 Preston Executive Drive, Cary NC 27513, USA"
15 <body style="margin:0;">
17 <table style="{{ table_style }}">
18 <tbody><tr><td style="padding:20px;">
19 <img src="{{ logo_location }}" alt="{{settings.APP_TITLE}}" />
20 <hr style="{{ hr_style }}" />
21 <p style="{{ p_style }}">{% trans "Hello" %} {{ recipient.username }},</p>
24 <p style="{{ p_style }}">Thanks,<br />{{settings.APP_SHORT_NAME}}</p>
25 <p style="{{ p_style }}">P.S. You can always fine-tune which notifications you receive
26 <a href="{{ settings.APP_URL }}{% url user_subscriptions id=recipient.id %}" style="{{ a_style }}">here</a>.
28 <hr style="{{ hr_style }}" />
29 <p style="{{ p_style }}"><small style="{{ small_style }}">{{ postal_address }}</small></p>
30 </td></tr></tbody></table>