31 lines
734 B
Plaintext
31 lines
734 B
Plaintext
|
<ul class="module-list">
|
||
|
[% last_id %]
|
||
|
[% FOREACH comment IN comments -%]
|
||
|
<li class="module-list-item">
|
||
|
<a href="#post-[% comment.post %]:comment-[% comment.id %]">
|
||
|
[% comment.sender | html %]</a> on
|
||
|
<a href="#post-[% comment.post %]">[% comment.title | html %]</a>
|
||
|
</li>
|
||
|
[%- last_id = comment.id %]
|
||
|
[% END -%]
|
||
|
</ul>
|
||
|
|
||
|
<p class="module-more">
|
||
|
|
||
|
[% IF offset > 0 %]
|
||
|
<a href="javascript:getRecentComments([% offset - count %])"><<</a>
|
||
|
[% END %]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
[% IF last_id > 1 && comments.size == count %]
|
||
|
<a id="more-recent-comments" href="javascript:getRecentComments([% offset + count %]);">
|
||
|
Next...
|
||
|
</a>
|
||
|
[% END %]
|
||
|
|
||
|
</p>
|
||
|
|