summaryrefslogtreecommitdiff
path: root/templates/post_thread.html
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-10-10 22:37:39 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-10-10 22:37:39 +1100
commitffb215eb476d1344ffd904626288c2553f95355d (patch)
tree8bfa9b41c657bb9df5ee8d0996b64b8a655c2680 /templates/post_thread.html
parent851d8eaa9b01fa0b15d7af9caa1a90a9cbb6d3f4 (diff)
added "bumplocking" feature
Diffstat (limited to 'templates/post_thread.html')
-rw-r--r--templates/post_thread.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/post_thread.html b/templates/post_thread.html
index 0e7dd1a4..2e477e7b 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -92,6 +92,9 @@
{% if post.locked %}
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
{% endif %}
+ {% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
+ <img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Locked" />
+ {% endif %}
{% if index %}
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[Reply]</a>
{% endif %}