From 591ca58043f0c4cb9c148eb058d0c0663ff87c5a Mon Sep 17 00:00:00 2001 From: citrons Date: Sun, 8 Aug 2021 00:05:33 +0000 Subject: UI reflects p_create_threads --- apioforum/templates/view_forum.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html index a4ffac6..290bb23 100644 --- a/apioforum/templates/view_forum.html +++ b/apioforum/templates/view_forum.html @@ -70,7 +70,7 @@

threads

-{% if g.user %} +{% if has_permission(forum.id, g.user, "p_create_threads") %} create new thread {% else %} please log in to create a new thread -- cgit v1.2.3