From 8ae879fdfe18997a82535ed64acc40fe281d759c Mon Sep 17 00:00:00 2001 From: citrons Date: Sun, 8 Aug 2021 00:35:40 +0000 Subject: one's role in a forum is now viewable --- apioforum/templates/view_forum.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html index c42b7b8..0eada1a 100644 --- a/apioforum/templates/view_forum.html +++ b/apioforum/templates/view_forum.html @@ -21,6 +21,11 @@

{% endif %} + {% set role = get_user_role(forum.id, g.user) %} + {% if role != "other" %} +

your role in this forum: {{role}}

+ {% endif %} +

available tags: {% for the_tag in avail_tags %} {{tag(the_tag)}} -- cgit v1.2.3