summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-26 16:30:43 +0200
committerDan McGee <dan@archlinux.org>2010-05-26 16:30:43 +0200
commit277117ba34204995efac766b715fe62270a5e908 (patch)
tree2475175f1dcce2c01be09320d5ce1e1977a4ad79 /templates
parent8f11dd9065319c5b49fad82c3546d1c291db78fc (diff)
downloadarchweb-277117ba34204995efac766b715fe62270a5e908.tar.gz
archweb-277117ba34204995efac766b715fe62270a5e908.tar.xz
Move package flagging URLs below the package
We were still using the user-facing package IDs here which we have eliminated everywhere else Change it to use the same user-friendly URL pattern we are using elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 192dce8..88ee453 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -16,11 +16,11 @@
{% if pkg.needupdate %}
<span class="flagged">This package has been flagged out-of-date</span>
{% if user.is_authenticated %}
- <br />&nbsp; &nbsp; <a href="/packages/unflag/{{ pkg.id }}/"
+ <br />&nbsp; &nbsp; <a href="unflag/"
title="Unflag this package">Click here to unflag</a>
{% endif %}
{% else %}
- <a href="/packages/flag/{{ pkg.id }}/" title="Flag {{ pkg.pkgname }} as out-of-date">Flag Package Out-of-Date</a>
+ <a href="flag/" title="Flag {{ pkg.pkgname }} as out-of-date">Flag Package Out-of-Date</a>
<a href="/packages/flaghelp/"
title="Get help on package flagging"
onclick="return !window.open('/packages/flaghelp','FlagHelp',