mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 11:28:41 +01:00
fix "anchor/bumplock icon won't show up without fixing variable name"
mistake in /templates/post_thread.html it should be post.sage not post.bumplocked, there is no bumplocked field in posts_X tables
This commit is contained in:
parent
70222e8c2d
commit
9e77f7b7c4
@ -31,7 +31,7 @@
|
||||
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
|
||||
{% if post.sage and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
|
||||
{% if config.font_awesome %}
|
||||
<i class="fa fa-anchor" title="Bumplocked"></i>
|
||||
{% else %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user