Compare commits

...

1 Commits

Author SHA1 Message Date
Majin Bejitto
9e77f7b7c4 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
2022-12-21 03:23:24 -05:00

View File

@ -31,7 +31,7 @@
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" /> <img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
{% endif %} {% endif %}
{% 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 %} {% if config.font_awesome %}
<i class="fa fa-anchor" title="Bumplocked"></i> <i class="fa fa-anchor" title="Bumplocked"></i>
{% else %} {% else %}