Parent: [cceb25] (diff)

Child: [ddf08c] (diff)

Download this file

thread_header.html    26 lines (25 with data), 804 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div>
{% if limit %}
<div>
{% set cur_page = page / limit %}
{% set 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">
{% if num_pages and cur_page > 0 %}
<a href="?page={{page - limit}}">&larr; Prev</a>
{% endif %}
{% if num_pages and cur_page < num_pages %}
<a href="?page={{page + limit}}">Next &rarr;</a>
{% endif %}
</div>
</div>
{% endif %}
{% if show_moderate and h.has_access(value, 'moderate')() %}
<div class="title-pane closed">
<span class="title">Moderate thread</span>
<div class="content">
{{widgets.moderate_thread.display(value=value, action=value.url()+'moderate')}}
</div>
</div>
{% endif %}
</div>