Browse Source

Only show posting flags relevant to your mod status

pull/40/head
Savetheinternet 13 years ago
parent
commit
eca3ac079d
  1. 6
      templates/post_form.html

6
templates/post_form.html

@ -71,15 +71,15 @@
{% trans %}Flags{% endtrans %}
</th>
<td>
{% if not id %}<div>
{% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}<div>
<label for="sticky">{% trans %}Sticky{% endtrans %}</label>
<input title="{% trans %}Sticky{% endtrans %}" type="checkbox" name="sticky" id="sticky" /><br />
</div>{% endif %}
{% if not id %}<div>
{% if not id and post.mod|hasPermission(config.mod.lock, board.uri) %}<div>
<label for="lock">{% trans %}Lock{% endtrans %}</label><br />
<input title="{% trans %}Lock{% endtrans %}" type="checkbox" name="lock" id="lock" />
</div>{% endif %}
{% if true %}<div>
{% if post.mod|hasPermission(config.mod.rawhtml, board.uri) %}<div>
<label for="raw">{% trans %}Raw HTML{% endtrans %}</label><br />
<input title="{% trans %}Raw HTML{% endtrans %}" type="checkbox" name="raw" id="raw" />
</div>{% endif %}

Loading…
Cancel
Save