mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-18 10:25:55 +01:00
fix news deletion; thanks MrFreeman
This commit is contained in:
parent
52fe9bc873
commit
94c91db097
@ -40,7 +40,7 @@
|
|||||||
<div class="ban">
|
<div class="ban">
|
||||||
{% if mod|hasPermission(config.mod.news_delete) %}
|
{% if mod|hasPermission(config.mod.news_delete) %}
|
||||||
<span style="float:right;padding:2px">
|
<span style="float:right;padding:2px">
|
||||||
<a class="unimportant" href="?/news/delete/{{ post.id }}/{{ post.delete_token }}">[{% trans 'delete' %}]</a>
|
<a class="unimportant" href="?/edit_news/delete/{{ post.id }}/{{ post.delete_token }}">[{% trans 'delete' %}]</a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 id="{{ post.id }}">
|
<h2 id="{{ post.id }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user