summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-07 01:36:50 +0200
committerDan McGee <dan@archlinux.org>2010-07-07 01:36:50 +0200
commitfba1d29c1b8fcc58a5501aad206901e6217cd530 (patch)
tree9e4307e16ee0e9795a84b2f8bac657c3c5e0d1ec /templates
parent145b80d0c6c466b08caf094df14d74ae56235151 (diff)
downloadarchweb-fba1d29c1b8fcc58a5501aad206901e6217cd530.tar.gz
archweb-fba1d29c1b8fcc58a5501aad206901e6217cd530.tar.xz
Update code to use new flag_date column
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html2
-rw-r--r--templates/packages/search.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index e52a005..3001709 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -14,7 +14,7 @@
<li><a href="{{ pkg.get_trunk_svn_link }}" title="View SVN entries on trunk">SVN Entries (trunk)</a></li>
<li><a href="{{ pkg.get_bugs_link }}" title="View existing bug tickets for {{ pkg.pkgname }}">Bug Reports</a></li>
<li>
- {% if pkg.needupdate %}
+ {% if pkg.flag_date %}
<span class="flagged">This package has been flagged out-of-date</span>
{% if user.is_authenticated %}
<br />&nbsp; &nbsp; <a href="unflag/"
diff --git a/templates/packages/search.html b/templates/packages/search.html
index fbbd11e..c0eff98 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -96,7 +96,7 @@
<td>{{ pkg.repo.name|capfirst }}</td>
<td><a href="{{ pkg.get_absolute_url }}"
title="View package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a></td>
- {% if pkg.needupdate %}
+ {% if pkg.flag_date %}
<td><span class="flagged">{{ pkg.pkgver }}-{{ pkg.pkgrel }}</span></td>
{% else %}
<td>{{ pkg.pkgver }}-{{ pkg.pkgrel }}</td>