]> git.deb.at Git - deb/packages.git/commitdiff
html/index.tmpl: Fix "Source" link in the navigation bar
authorFrank Lichtenheld <frank@lichtenheld.de>
Fri, 14 Sep 2007 20:33:14 +0000 (22:33 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Fri, 14 Sep 2007 20:33:14 +0000 (22:33 +0200)
- the conditional to test is $is_source, not $source
- the correct parameter for make_url is 'source', not $source

templates/html/index.tmpl

index 043274a94de27e4075d49eddf4e2c9a0bc606efd..74a30b0c27d39091533a188562245383936ce899 100644 (file)
@@ -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'