From: Frank Lichtenheld Date: Fri, 14 Sep 2007 20:33:14 +0000 (+0200) Subject: html/index.tmpl: Fix "Source" link in the navigation bar X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=697b61da3ae20b111b2bf7058c6b12c5facf9fd5;p=deb%2Fpackages.git 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 --- 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'