From: Frank Lichtenheld Date: Sat, 9 Jun 2007 22:31:59 +0000 (+0200) Subject: templates/html/show.tmpl: Fix bug in generation of "Files" column in download table X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=6f901c658cd9b6ba36a285417ab2d10ebf481c7c;p=deb%2Fpackages.git templates/html/show.tmpl: Fix bug in generation of "Files" column in download table b688b16487ef2ca8ad7861d7c20da16a9f3f4448 changed the loop to use a local variable instead of implicit declaration but didn't change the use of the contents_avail hash key. This broke the "Files" column to never display a file link. --- diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b7e2d72..f2993ed 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -274,7 +274,7 @@ Do not install it on a normal Debian system.

[% "$d.version" IF versions.multiple %] [% d.pkgsize %] kB[% d.instsize %] kB -[% IF contents_avail %] +[% IF d.contents_avail %] [list of files] [% ELSE %] no current information