it/itf/templates/emailer/email.html

143 lines
7.6 KiB
HTML
Raw Normal View History

2011-12-08 14:49:39 +00:00
{% load markup %}
2012-01-14 21:25:28 +00:00
{% load thumbnail %}
2011-12-08 14:49:39 +00:00
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:280px; padding:10px;">
<img src="/static/images/emailer/logo-erang.jpg" width="151" height="127" alt="erang-logo">
</td>
<td style="width:280px; padding:10px;" valign="top">
<img src="/static/images/emailer/logoItfSmall.jpg" width="125" height="34" alt="itf-logo" align="right">
</td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:290px; padding:0px 10px 0px 10px;border-bottom:2px solid #f8c92d;">
2012-01-15 20:51:31 +00:00
<p style="font-family:'Century Gothic', Arial, Helvetica, sans-serif; font-size:12px; color:#888; padding-bottom:2px; margin-left:8px;">Issue No: {{ issue.issue_no }} <span>&nbsp;&nbsp; {{ issue.date|date:"F j, Y" }}</span></p>
2011-12-08 14:49:39 +00:00
</td>
<td style="width:290px; padding:0px 0px 0px 10px; font-size:12px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;border-bottom:2px solid #f8c92d; margin-left:8px">
2012-01-15 20:51:31 +00:00
<p style="text-align:right; margin-bottom:4px;"><a href="http://theatreforum.in{{ issue.get_absolute_url }}" style="color:#ffcc00; text-decoration:none;">SUBSCRIBE |</a> <a href="http://theatreforum.in{{ issue.get_absolute_url }}" style="color:#ffcc00; text-decoration:none;">FEEDBACK </a></p>
2011-12-08 14:49:39 +00:00
</td>
</tr>
</table>
<table width="600" border="0" cellspacing="12" cellpadding="1">
2012-01-14 21:25:28 +00:00
<tr style="vertical-align:top;">
2011-12-08 14:49:39 +00:00
2012-01-14 21:25:28 +00:00
<td style="width:250px; background-color:#f7bd00; color:#fff; padding:10px;">
2011-12-08 14:49:39 +00:00
<p style="font-size:16px; text-align:center; text-transform:uppercase; font-family:'Century Gothic', Arial, Helvetica, sans-serif;">Web Links</p>
2012-01-15 20:51:31 +00:00
{% for weblink in weblinks %}
<p style="font-size:13px; font-family:Arial, Helvetica, sans-serif; padding-left:6px; padding-right:6px;">{{ weblink.title|truncatewords:6 }}</p>
{% endfor %}
2012-01-14 21:25:28 +00:00
<p style="text-align:right;"><a href="#weblinks" style="color:#fff; text-decoration:none; font-size:12px;">More &#187;</a></p>
2011-12-08 14:49:39 +00:00
</td>
2012-01-14 21:25:28 +00:00
<td style="width:250px; background-color:#f7bd00; color:#fff; padding:10px;">
2011-12-08 14:49:39 +00:00
<p style="font-size:16px; text-align:center; text-transform:uppercase; font-family:'Century Gothic', Arial, Helvetica, sans-serif;">Bulletin Board</p>
2012-01-15 20:51:31 +00:00
{% for bbitem in bbitems %}
<p style="font-size:13px; font-family:Arial, Helvetica, sans-serif; padding-left:6px; padding-right:6px;">{{ bbitem.title|truncatewords:6 }}</p>
{% endfor %}
2012-01-14 21:25:28 +00:00
<p style="text-align:right;"><a href="#bbitems" style="color:#fff; text-decoration:none; font-size:12px;">More &#187;</a></p>
2011-12-08 14:49:39 +00:00
</td>
2012-01-18 09:42:06 +00:00
</tr>
2011-12-08 14:49:39 +00:00
</table>
{% for article in articles %}
<table width="600" border="0" cellspacing="6" cellpadding="1">
<tr>
2012-01-15 20:51:31 +00:00
<td style="width:350px;"><p style="font-size:24px; font-weight:normal; color:#ffcc00; text-transform:uppercase; font-family:'Century Gothic', Arial, Helvetica, sans-serif; margin-left:10px;margin-top:0px;margin-bottom:0px;">{{ article.title }}</p></td>
2011-12-08 14:49:39 +00:00
<td style="width:250px;"><p style="font-size:12px; font-weight:normal; color:#888; font-family:'Century Gothic', Arial, Helvetica, sans-serif; text-align:right;">by: {{ article.author }}</p></td>
</tr>
</table>
<table>
<tr>
<td style="width:600px;">
2012-01-14 21:25:28 +00:00
{% if article.main_image %}
2012-01-15 20:51:31 +00:00
{% thumbnail article.main_image "x380" as im %}
2012-01-14 21:25:28 +00:00
<img style="display:block;margin:0 auto;border:1px solid #f7c00c;" src="{{ im.url }}" />
{% endthumbnail %}
{% endif %}
<!-- <img src="/static/images/emailer/logo-erang.jpg" width="151" height="127" alt="theatre-image" style="display:block; border:1px solid #f7c00c; margin:0 auto;"> -->
2011-12-08 14:49:39 +00:00
<p style="text-align:center; margin-top:10px; margin-bottom:10px; color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px;">{{ article.subtitle }}</p>
</td>
</tr>
<tr>
2012-01-14 21:25:28 +00:00
<td style="width:580px; padding:10px 16px; color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px;">
<p>{{ article.text|markdown }}</p></td>
2011-12-08 14:49:39 +00:00
</tr>
2012-01-18 09:42:06 +00:00
<tr>
<td style="width:580px; padding: 10px 16px; color:#888; font-family: Arial, Helvetica, sans-serif; font-size:12px; font-style:italic;">
{{ article.author_bio|markdown }}
</td>
</tr>
{% endfor %}
2011-12-08 14:49:39 +00:00
<tr>
<td style="width:580px; margin:10px 0 10px 0;">
2012-01-14 21:25:28 +00:00
<p style="padding:8px; margin-left:10px; background-color:#f7bd00; color:#fff; font-size:24px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;"><a name="weblinks"></a>WEB LINKS</p>
{% for weblink in weblinks %}
2012-01-15 20:51:31 +00:00
<h2 style="padding-left:10px;margin-top:0px;margin-bottom:0px;"><a href="{{weblink.url}}" target="_blank" style="color:#ff8400;text-decoration:none;font-size:16px">{{ weblink.title }}</a></h2>
2012-01-14 21:25:28 +00:00
<div style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding-left: 10px;">{{ weblink.text|markdown }}</div>
{% endfor %}
<!-- <p style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:8px;">{{ weblinks.text|markdown }}</p> -->
2011-12-08 14:49:39 +00:00
</td>
</tr>
<tr>
<td style="width:580px; margin:10px 0 10px 0;">
2012-01-14 21:25:28 +00:00
<p style="padding:8px; margin-left:10px; margin-top: 4px;background-color:#f7bd00; color:#fff; font-size:24px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;"><a name="bbitems"></a>BULLETIN BOARD</p>
{% for bbitem in bbitems %}
2012-01-15 20:51:31 +00:00
<h2 style="font-family:Arial;font-size:16px;padding-left:10px;color:#888;margin-top:4px;margin-bottom:4px;">{{ bbitem.title }}</h2>
2012-01-18 09:44:27 +00:00
<div style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding-left: 10px;margin-bottom:16px;">{{ bbitem.text|markdown }}</div>
2012-01-14 21:25:28 +00:00
{% endfor %}
<!-- <p style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:8px;">{{ bulletinboard.text|markdown }}</p> -->
2011-12-08 14:49:39 +00:00
</td>
</tr>
</table>
2011-12-08 14:49:39 +00:00
<table width="600" border="0" cellspacing="6" cellpadding="1">
<tr>
<td style="width:600px; border-bottom:2px solid #f8c92d; color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:center;">
<p style="border-bottom:2px solid #f8c92d; border-top:2px solid #f8c92d; padding-top:6px; padding-bottom:6px; padding-top:6px;">A fortnightly theatre e-journal from the India Theatre Forum<br>
Co-Editors: Vikram Iyengar, Joyoti Roy</p>
<p>Views expressed in the articles in e-Rang are personal.<br>e-Rang does not hold copyright of any piece.<br>Any enquiry for re-use of articles should be addressed to the authors.</p>
2012-01-18 09:42:06 +00:00
<p>Contribute your articles to e-Rang and become part of this theatre community! Email us at <a href="mailto@erang@theatreforum.in" style="color:#0066ff; text-decoration:none;">erang@theatreforum.in</a> to know more about how to contribute.</p>
<p style="padding-bottom:6px;">The India Theatre Forum (ITF), a Prithvi Theatre initiative, was formed in 2006 as a loose association of theatre people coming together in the larger interests of theatre. For more on the ITF, please visit <a href="http://theatreforum.in/" style="color:#0066ff; text-decoration:none;">www.theatreforum.in</a>. The ITF is currently supported by HIVOS.</p>
2011-12-08 14:49:39 +00:00
</td>
</tr>
2012-01-18 09:42:06 +00:00
<!--
2011-12-08 14:49:39 +00:00
<tr>
<td style="width:600px; color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:center;">
<p>If you'd prefer not to receive theatre updates and theatre news, simply click here to <a href="" style="color:#0066ff; text-decoration:none;">unsubscribe.</a></p>
</td>
</tr>
2012-01-18 09:42:06 +00:00
-->
2011-12-08 14:49:39 +00:00
</table>