Browse Source

Hide "flags" section in posting form if user doesn't have permission to do anything special

pull/40/head
Michael Foster 11 years ago
parent
commit
889945f50c
  1. 2
      templates/post_form.html

2
templates/post_form.html

@ -85,7 +85,7 @@
</td>
</tr>
{% endif %}
{% if mod %}
{% if mod and ((not id and post.mod|hasPermission(config.mod.sticky, board.uri)) or (not id and post.mod|hasPermission(config.mod.lock, board.uri)) or post.mod|hasPermission(config.mod.rawhtml, board.uri)) %}
<tr>
<th>
{% trans %}Flags{% endtrans %}

Loading…
Cancel
Save