<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
py:strip="True">
<div py:if="limit"
py:with="cur_page=page / limit; num_pages=count/limit">
<div class="span-3">Page ${1 + cur_page} of ${1 + num_pages}</div>
<div class="span-16 tright last" id="discuss">
<a py:if="num_pages and cur_page > 0" href="?page=${page - limit}">← Prev</a>
<a py:if="num_pages and cur_page < num_pages" href="?page=${page + limit}">Next →</a>
</div>
</div>
<hr class="clear clearfix space"/>
<p>Thread Shortlink: [${value.shorthand_id()}]</p>
<div class="title-pane closed" py:if="show_moderate and has_artifact_access('moderate', value)()">
<span class="title">Moderate thread</span>
<div class="content">
${widgets.moderate_thread.display(value=value, action=value.url()+'moderate')}
</div>
</div>
</div>