summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/templates/view_forum.html5
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)}}