From 88c25af7cfddbee6bd5388d4590b008d6f672d03 Mon Sep 17 00:00:00 2001 From: discomrade Date: Sat, 29 Jan 2022 23:53:56 -0100 Subject: [PATCH] Fix bumplock not appearing on threads and catalog Ideally they would all say bumplock instead of sage, but that's how it is in the database so we can fix that later if we ever care. --- templates/post_thread.html | 2 +- templates/post_thread_fileboard.html | 2 +- templates/themes/catalog/catalog.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/post_thread.html b/templates/post_thread.html index 44f29db6..5ceab216 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -31,7 +31,7 @@ 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 %} {% else %} diff --git a/templates/post_thread_fileboard.html b/templates/post_thread_fileboard.html index 1a11ff79..d9a07ef3 100644 --- a/templates/post_thread_fileboard.html +++ b/templates/post_thread_fileboard.html @@ -25,7 +25,7 @@ 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 %} {% else %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 304093b6..1833cf9b 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -88,7 +88,7 @@ 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 %} {% else %}