Fix edit board link not appearing

This commit is contained in:
Fredrick Brennan 2014-05-18 21:18:06 -04:00
parent c1bc5778dd
commit 101202a031

View File

@ -48,10 +48,10 @@
{% else %}
<a title="{% trans %}Move reply to another board{% endtrans %}" href="?/{{ board.dir }}move_reply/{{ post.id }}">{{ config.mod.link_move }}</a>&nbsp;
{% endif %}
{% endif %}
{% if mod|hasPermission(config.mod.editpost, board.uri) %}
<a title="{% trans %}Edit post{% endtrans %}" href="?/{{ board.dir }}edit{% if config.mod.raw_html_default %}_raw{% endif %}/{{ post.id }}">{{ config.mod.link_editpost }}</a>&nbsp;
{% endif %}
{% endif %}
</span>
{% endif %}