2010-08-01 21:50:16 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block head %}
|
2010-08-29 17:29:28 +00:00
|
|
|
<title>India Theatre Forum - {{ current_issue.title }}</title>
|
2010-11-26 01:12:09 +00:00
|
|
|
<script type="text/javascript" src="/static/js/jquery.color.js"></script>
|
2010-11-09 19:52:52 +00:00
|
|
|
<script type="text/javascript" src="/static/js/utils.js"></script>
|
2010-11-20 14:13:49 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
var ERANG_ISSUE_ID = {{ current_issue.id }};
|
|
|
|
</script>
|
2010-11-09 19:52:52 +00:00
|
|
|
<script type="text/javascript" src="/static/js/erang/erang.js"></script>
|
|
|
|
<link rel="stylesheet" href="/static/css/erang/erang.css" />
|
2010-11-20 14:13:49 +00:00
|
|
|
<link rel="stylesheet" href="/static/css/erang/comments.css" />
|
2010-08-01 21:50:16 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2010-11-09 19:52:52 +00:00
|
|
|
<script type="text/html" id="tmpl_issue_list">
|
|
|
|
<ul class="newsletterList">
|
2010-11-20 14:13:49 +00:00
|
|
|
<% for (var i=0; i<issues.length; i++) {
|
|
|
|
var issue = issues[i];
|
|
|
|
if (issue.id === ERANG_ISSUE_ID) { var classname="currentIssue" } else { var classname="otherIssue"}
|
|
|
|
%>
|
2010-11-09 19:52:52 +00:00
|
|
|
<li>
|
2010-11-20 14:13:49 +00:00
|
|
|
<a href="?issue_id=<%= issue.id %>" class="<%= classname %>"><%= issue.title %></a>
|
2010-11-09 19:52:52 +00:00
|
|
|
<br />
|
|
|
|
<span class="date"></span>
|
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
2010-11-10 21:40:04 +00:00
|
|
|
<div class="navBtns" data-terms="<%= search_terms %>" data-page="<%= page_no %>">
|
2010-11-12 21:12:47 +00:00
|
|
|
<% if (hasPrev) { %><span class="prevBtn">< Previous</span><% } %>
|
|
|
|
<% if (hasNext) { %><span class="nextBtn">Next ></span><% } %>
|
2010-11-09 19:52:52 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</script>
|
2010-08-01 21:50:16 +00:00
|
|
|
<div id="leftMenu">
|
2010-08-29 17:29:28 +00:00
|
|
|
<div class="homeLink">
|
2010-08-29 17:39:42 +00:00
|
|
|
<h3><img src="/static/images/favicon.ico" title="India Theatre Forum" alt="" /> <a href="/" title="India Theatre Forum Home"> Home</a> </h3>
|
2010-08-29 17:29:28 +00:00
|
|
|
</div>
|
2010-11-12 21:12:47 +00:00
|
|
|
<div id="issueListWrapper">
|
|
|
|
<h3>Past Issues:</h3>
|
|
|
|
<form id="searchForm" action="" method="get" />
|
|
|
|
<input id="issueSearch" data-placeholder="Search" /><input id="searchSubmit" type="submit" value="Go" />
|
|
|
|
</form>
|
|
|
|
<div class="issueListContainer">
|
|
|
|
</div>
|
2010-11-09 19:52:52 +00:00
|
|
|
</div>
|
2010-08-01 21:50:16 +00:00
|
|
|
<div id="subscribe">
|
2010-11-03 15:33:40 +00:00
|
|
|
<a name="subscribe"></>
|
2010-08-01 21:50:16 +00:00
|
|
|
<h3>Subscribe:</h3>
|
|
|
|
<form id="subscribeForm">
|
|
|
|
<input id="email" name="email" data-placeholder="E-Mail" /><br />
|
|
|
|
<button id="subscribeBtn">Subscribe!</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2010-11-12 21:12:47 +00:00
|
|
|
|
|
|
|
{% load erangtags %}
|
2010-08-01 21:50:16 +00:00
|
|
|
<div id="newsletterContent">
|
|
|
|
{% autoescape off %}
|
2010-11-12 21:12:47 +00:00
|
|
|
{{ current_issue.html|absolutify_links }}
|
2010-08-01 21:50:16 +00:00
|
|
|
{% endautoescape %}
|
|
|
|
<div id="commentWrapper">
|
2010-11-20 14:13:49 +00:00
|
|
|
{% load comments %}
|
2010-08-01 22:38:56 +00:00
|
|
|
<h3>Comments and Feedback</h3>
|
2010-08-01 21:50:16 +00:00
|
|
|
<a name="comments"></a>
|
2010-11-20 14:13:49 +00:00
|
|
|
{% get_comment_list for erang_organised.issue current_issue.id as comment_list %}
|
|
|
|
|
|
|
|
{% ifnotequal comment_list|length 0 %}
|
|
|
|
<div id="comments_list">
|
|
|
|
<!--
|
|
|
|
<h4 class="responsesHeader">
|
|
|
|
Responses:
|
|
|
|
</h4>
|
|
|
|
-->
|
|
|
|
{% 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 current_issue as form %}
|
|
|
|
|
|
|
|
<div id="comment_form">
|
|
|
|
<h4 class="formHeader">
|
|
|
|
Leave a Response:
|
|
|
|
</h4>
|
|
|
|
<form action="{% comment_form_target %}" method="POST">{% csrf_token %}
|
|
|
|
<input type="hidden" name="next" value="/erang/?issue_id={{ current_issue.id }}" />
|
|
|
|
<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>
|
2010-08-01 21:50:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|