From 697b61da3ae20b111b2bf7058c6b12c5facf9fd5 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 14 Sep 2007 22:33:14 +0200 Subject: [PATCH] html/index.tmpl: Fix "Source" link in the navigation bar - the conditional to test is $is_source, not $source - the correct parameter for make_url is 'source', not $source --- templates/html/index.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/html/index.tmpl b/templates/html/index.tmpl index 043274a..74a30b0 100644 --- a/templates/html/index.tmpl +++ b/templates/html/index.tmpl @@ -10,8 +10,8 @@ nav_last = { name=>'All Packages' }; END; nav_arr.push( { name=>'Source', - url=>make_url('/','','suite',suite,'source',source) } ) - IF source; + url=>make_url('/','','suite',suite,'source','source') } ) + IF is_source; nav_arr.push( nav_last ); %] [% PROCESS 'html/head.tmpl' -- 2.39.2