diff options
author | citrons <citrons> | 2021-08-08 00:35:40 +0000 |
---|---|---|
committer | citrons <citrons> | 2021-08-08 00:35:40 +0000 |
commit | 8ae879fdfe18997a82535ed64acc40fe281d759c (patch) | |
tree | 5894c346e4bf02b08385ab9f86e6d7fc674e714f | |
parent | 6ccb87c7c0e735664061154ff6ca6980fa332083 (diff) |
one's role in a forum is now viewable
-rw-r--r-- | apioforum/templates/view_forum.html | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ </p> {% endif %} + {% set role = get_user_role(forum.id, g.user) %} + {% if role != "other" %} + <p>your role in this forum: {{role}}</p> + {% endif %} + <p>available tags: {% for the_tag in avail_tags %} {{tag(the_tag)}} |