From eca3ac079dacb78cce27b3f0c8f8ca6694ec8210 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 23 Nov 2011 21:28:59 +1100 Subject: [PATCH] Only show posting flags relevant to your mod status --- templates/post_form.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/post_form.html b/templates/post_form.html index e13b049b..d60039ba 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -71,15 +71,15 @@ {% trans %}Flags{% endtrans %} - {% if not id %}
+ {% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}

{% endif %} - {% if not id %}
+ {% if not id and post.mod|hasPermission(config.mod.lock, board.uri) %}

{% endif %} - {% if true %}
+ {% if post.mod|hasPermission(config.mod.rawhtml, board.uri) %}

{% endif %}