mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
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>
|
||||
</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…
Reference in New Issue
Block a user