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