summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-12-30 20:32:50 +0100
committereliott <eliott@cactuswax.net>2007-12-30 20:32:50 +0100
commitef8c17e0fd7ad1bc9a86f82cc8c290b6f049a20a (patch)
treead9585c7a509305958b9549f0a4c944d3b2e0ac0 /templates
parent338307f5db9900dee477b3e7c44637e6833f3eeb (diff)
downloadarchweb-ef8c17e0fd7ad1bc9a86f82cc8c290b6f049a20a.tar.gz
archweb-ef8c17e0fd7ad1bc9a86f82cc8c290b6f049a20a.tar.xz
Fixes for FS#7980
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 65de079..b1ba343 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -11,9 +11,9 @@
<li>
{% if pkg.needupdate %}
<span style="font-size:x-small"><em>This package has been flagged out-of-date</em></span>
- {% if not user.is_anonymous %}{% if pkg.maintainer %}{% ifequal user.username pkg.maintainer.username %}
- <br />&nbsp; &nbsp; <a href="/packages/unflag/{{ pkg.id }}/">Click here to unflag</a>
- {% endifequal %}{% endif %}{% endif %}
+ {% if not user.is_anonymous %}
+ <br />&nbsp; &nbsp; <a href="/packages/unflag/{{ pkg.id }}/">Click here to unflag</a>
+ {% endif %}
{% else %}
<a href="/packages/flag/{{ pkg.id }}/" onclick="return !window.open('/packages/flag/{{ pkg.id }}/','FlagHelp','height=250,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');">Flag Package Out-of-Date</a>
<a href="/packages/flaghelp" onclick="return !window.open('/packages/flaghelp','FlagHelp','height=250,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');"><span style="font-size:x-small">(?)</span></a>