1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 02:27:24 +01:00

oops, didn't exactly test a0c40b7f63

This commit is contained in:
8chan 2015-03-29 16:39:02 -07:00
parent a0c40b7f63
commit 43af0db4e7

View File

@ -45,11 +45,13 @@
</tr>
</table>
<p style="text-align:center">
{% if raw and mod|hasPermission(config.mod.rawhtml) %}
{% if mod|hasPermission(config.mod.rawhtml) %}
{% if raw %}
{% trans %}Currently editing raw HTML.{% endtrans %}
<a href="?/{{ board }}/edit/{{ post.id }}">{% trans %}Edit markup instead?{% endtrans %}</a>
{% else %}
<a href="?/{{ board }}/edit_raw/{{ post.id }}">{% trans %}Edit raw HTML instead?{% endtrans %}</a>
{% endif %}
{% endif %}
</p>
</form>