Adds "noko50" (View Last 50 Posts) pages. (Broken Reply)

This commit is contained in:
fallenPineapple 2013-08-10 17:16:30 -04:00
parent 1248e329d2
commit 12ee85beaf
7 changed files with 152 additions and 8 deletions

View file

@ -121,7 +121,14 @@
{% endif %}
{% endif %}
{% if index %}
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}Reply{% endtrans %}]</a>
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}View{% endtrans %}]</a>
{% endif %}
{% if isnoko50 %}
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}View All{% endtrans %}]</a>
{% endif %}
{% if hasnoko50 and not isnoko50 %}
{% set lastcount = config.noko50_count %}
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page50|sprintf(post.id) }}">[{% trans %}Last {{ lastcount }} Posts{% endtrans %}]</a>
{% endif %}
{{ post.postControls }}
</p>
@ -146,7 +153,7 @@
{% plural post.omitted_images %}
{{ count }} image replies
{% endtrans %}
{% endif %} {% trans %}omitted. Click reply to view.{% endtrans %}
{% endif %} {% trans %}omitted. Click View to see all.{% endtrans %}
</span>
{% endif %}
{% if not index %}