summaryrefslogtreecommitdiff
path: root/templates/mod/news.html
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-06-09 04:51:05 +0200
committerczaks <marcin@6irc.net>2016-06-09 04:51:05 +0200
commit94c91db097c034c46f66b27d16eb84a4ea814bb6 (patch)
treed99167dedde70903f6329a428882b86a2efa90ed /templates/mod/news.html
parent52fe9bc873e2950606afefad82cd102ad0a4db5c (diff)
fix news deletion; thanks MrFreeman
Diffstat (limited to 'templates/mod/news.html')
-rw-r--r--templates/mod/news.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/news.html b/templates/mod/news.html
index 510d60ce..57058291 100644
--- a/templates/mod/news.html
+++ b/templates/mod/news.html
@@ -40,7 +40,7 @@
<div class="ban">
{% if mod|hasPermission(config.mod.news_delete) %}
<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>
{% endif %}
<h2 id="{{ post.id }}">