From 6f901c658cd9b6ba36a285417ab2d10ebf481c7c Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 10 Jun 2007 00:31:59 +0200 Subject: [PATCH] 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. --- templates/html/show.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2