it/itf/templates/modules/emailer/emailerissue.html

162 lines
5.9 KiB
HTML
Raw Normal View History

2011-12-08 13:15:14 +00:00
{% load markup %}
2011-12-27 09:18:37 +00:00
{% load thumbnail %}
2011-12-06 12:45:46 +00:00
<div id="wrapperEmailer">
<link rel="stylesheet" href="/static/css/modules/emailer.css" type="text/css" />
2011-12-06 12:45:46 +00:00
<div id="headerEmailer">
<img src="/static/images/emailer/logo-erang.jpg" width="151" height="127" alt="logo-erang" id="logoImg" /><!-- LOGO IMG -->
2011-12-06 12:45:46 +00:00
<img src="/static/images/emailer/logoItfSmall.jpg" width="125" height="34" alt="logo-itf-small" id="logoItfSmall" /><!-- LOGO ITF SMALL -->
<div class="clear"></div>
<p id="issueNo">Issue No: {{ issue.issue_no }}<span id="issueDate">{{ issue.date|date:"d-M-Y" }}</span></p><!-- ISSUE NO CLOSING -->
<!--<p id="emailerDescription">A fortnightly theatre e-journal from the India Theatre Forum<br>Co-Editors: Vikram Iyengar, Joyoti Roy</p>EMAILER DESCRIPTION CLOSING -->
<ul id="navEmailer">
2012-01-01 10:40:03 +00:00
<li><a href="#subscribe">Subscribe |</a></li>
<li><a href="#comments">Feedback </a></li>
<!--<li><a href="">Bulletin Board |</a></li>
<li><a href="">Links</a></li>-->
</ul><!--NAV EMAILER CLOSING -->
<div class="clear"></div>
<div id="subscribeForm">
<input id="subscribeInput" />
<button id="subscribeBtn">Subscribe</button>
</div>
<div class="clear"></div>
2011-12-06 12:45:46 +00:00
</div><!-- HEADER EMAILER CLOSING -->
<div id="contentEmailer">
<div class="contentBoxes">
2011-12-08 17:30:00 +00:00
<h1>WEB LINKS</h1>
2011-12-17 07:17:16 +00:00
{% for weblink in weblinks %}
2011-12-20 11:34:02 +00:00
<p>{{ weblink.title|truncatewords:6 }}</p>
2011-12-17 07:17:16 +00:00
{% endfor %}
<p class="contentBoxesMore"><a href="#weblinks">More &#187;</a></p>
2011-12-06 12:45:46 +00:00
</div><!-- CONTENT BOXES CLOSING -->
<div class="contentBoxes">
2011-12-08 17:30:00 +00:00
<h1>BULLETIN BOARD</h1>
2011-12-17 07:17:16 +00:00
{% for bbitem in bbitems %}
2011-12-20 11:34:02 +00:00
<p>{{ bbitem.title|truncatewords:6 }}</p>
2011-12-17 07:17:16 +00:00
{% endfor %}
<p class="contentBoxesMore"><a href="#bbitems">More &#187;</a></p>
2011-12-06 12:45:46 +00:00
</div><!-- CONTENT BOXES CLOSING -->
</div><!-- CONTENT BOXES CLOSING -->
<div class="clear"></div>
<div class="articleEmailer">
2011-12-08 13:15:14 +00:00
{% for article in articles %}
<div class="articleTitle">{{ article.title }}</div>
<div class="articleAuthor">by: {{ article.author }}</div><!-- ARTICLE TITLE CLOSING -->
<div class="clear"></div>
2011-12-27 09:18:37 +00:00
{% if article.main_image %}
<div class="articleImg">
{% thumbnail article.main_image "570" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
</div><!-- ARTICLE IMAGE CLOSING -->
{% endif %}
2011-12-08 13:15:14 +00:00
<div class="articleCaption">{{ article.subtitle }}</div><!-- ARTICLE CAPTION CLOSING -->
<div class="articleText">{{ article.text|markdown }}</div>
2011-12-27 13:05:42 +00:00
<div class="authorBio">{{ article.author_bio|markdown }}</div>
2011-12-08 13:15:14 +00:00
{% endfor %}
2011-12-06 12:45:46 +00:00
</div><!-- ARTICLE EMAILER CLOSING -->
2011-12-09 09:42:02 +00:00
<div class="contentLinks">
2011-12-17 07:17:16 +00:00
<a name="weblinks"></a><h1>WEB LINKS</h1>
2011-12-17 07:05:26 +00:00
{% for weblink in weblinks %}
2011-12-17 07:12:52 +00:00
<h2><a href="{{weblink.url}}" target="_blank">{{ weblink.title }}</a></h2>
{{ weblink.text|markdown }}
2011-12-17 07:05:26 +00:00
{% endfor %}
2011-12-09 09:42:02 +00:00
</div><!-- WEB LINKS CLOSING -->
<div class="contentLinks">
2011-12-17 07:17:16 +00:00
<a name="bbitems"></a><h1>BULLETIN BOARD</h1>
2011-12-17 07:05:26 +00:00
{% for bbitem in bbitems %}
2011-12-17 07:08:45 +00:00
<h2>{{ bbitem.title }}</h2>
{{ bbitem.text|markdown }}
2011-12-17 07:05:26 +00:00
{% endfor %}
2011-12-09 09:42:02 +00:00
</div><!-- WEB LINKS CLOSING -->
2011-12-06 12:45:46 +00:00
</div><!-- CONTENT EMAILER CLOSING -->
<div id="footerEmailer">
<p>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>
2011-12-06 12:45:46 +00:00
<p>Contribute your articles to e-Rang and become part of this theatre community! Email us at <a href="">erang@theatreforum.in</a> to know
more about how to contribute..</p>
<p>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="">www.theatreforum.in</a>. The ITF is currently supported by HIVOS.</p>
<p>If you'd prefer not to receive theatre updates and theatre news, simply click here to <a href="">unsubscribe.</a></p>
</div><!-- FOOTER EMAILER CLOSING -->
2012-01-01 10:40:03 +00:00
<div id="commentWrapper">
{% load comments %}
<h3>Comments and Feedback</h3>
<a name="comments"></a>
{% get_comment_list for issue as comment_list %}
{% ifnotequal comment_list|length 0 %}
<div id="comments_list">
{% for comment in comment_list %}
<div class="comment {% cycle 'commentOdd' 'commentEven' %}">
<div class="comment_user">
{{ comment.user_name }}:
</div>
<div class="comment_comment">
{{ comment.comment }}
</div>
</div>
{% endfor %}
</div>
{% endifnotequal %}
{% get_comment_form for issue as form %}
<div id="comment_form">
<h4 class="formHeader">
Leave a Response:
</h4>
<form action="{% comment_form_target %}" method="POST">
{% csrf_token %}
2012-01-01 10:40:03 +00:00
<input type="hidden" name="next" value="{{ issue.get_absolute_url }}" />
<table id="form_table">
<tr class="leave_response">
<th></th>
<td>
</td>
</tr>
{{ form }}
<tr>
<th></th>
<td><input type="submit" name="post" class="submit-post" value="Post"></td>
</tr>
</table>
</form>
</div>
</div>
</div>