aboutsummaryrefslogtreecommitdiffstats
path: root/templates/warningmgr/detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/warningmgr/detail.html')
-rw-r--r--templates/warningmgr/detail.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/warningmgr/detail.html b/templates/warningmgr/detail.html
index 5762430..e515861 100644
--- a/templates/warningmgr/detail.html
+++ b/templates/warningmgr/detail.html
@@ -59,16 +59,16 @@
<div class="well">
{% if user.is_authenticated %}
{% if warningitem.status != "N" %}
- <a href="{% url unreview warningitem.id %}" class="btn">Un-review</a>
+ <a href="{% url "unreview" warningitem.id %}" class="btn">Un-review</a>
{% endif %}
{% if warningitem.status == "N" %}
- <a href="{% url actionreq warningitem.id %}" class="btn">Action Required</a>
- <a href="{% url resolve warningitem.id %}" class="btn">Resolve</a>
- <a href="{% url ignore warningitem.id %}" class="btn">Ignore</a>
+ <a href="{% url "actionreq" warningitem.id %}" class="btn">Action Required</a>
+ <a href="{% url "resolve" warningitem.id %}" class="btn">Resolve</a>
+ <a href="{% url "ignore" warningitem.id %}" class="btn">Ignore</a>
{% endif %}
{% if warningitem.status == "A" %}
- <a href="{% url resolve warningitem.id %}" class="btn">Resolve</a>
- <a href="{% url ignore warningitem.id %}" class="btn">Ignore</a>
+ <a href="{% url "resolve" warningitem.id %}" class="btn">Resolve</a>
+ <a href="{% url "ignore" warningitem.id %}" class="btn">Ignore</a>
{% endif %}
{% endif %}
</div>
@@ -87,7 +87,7 @@
<h3>Post a comment</h3>
{% if user.is_authenticated and perms.warningmgr.change_warningitem %}
{% if error_message %}<div class="alert alert-error">{{ error_message }}</div>{% endif %}
-<form action="{% url postcomment warningitem.id %}" method="post" class="well">
+<form action="{% url "postcomment" warningitem.id %}" method="post" class="well">
{% csrf_token %}
<textarea rows="10" name="comment_text"></textarea>
<br>