Hide "flags" section in posting form if user doesn't have permission to do anything special
This commit is contained in:
parent
343397d561
commit
889945f50c
@ -85,7 +85,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% 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>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
{% trans %}Flags{% endtrans %}
|
{% trans %}Flags{% endtrans %}
|
||||||
|
Loading…
Reference in New Issue
Block a user