]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
Templates: Also display the suite's alias name in selected places
[deb/packages.git] / templates / html / show.tmpl
index 2be807156bee8bb0144325822c5cf0f96491c02b..554f48fd1e8f5b706c194180b7555ab4cc11a13a 100644 (file)
@@ -9,7 +9,9 @@
                [ 'hg', 'Hg', 'mercurial' ], ];
    vcs_link = page.get_newest("vcs-browser");
 -%]
-[%- nav_arr = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/','','source',''), name=>suite }, ];
+[%- suite_name = suite;
+    SET suite_name = suite_name _ ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite;
+    nav_arr = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/','','source',''), name=>suite_name }, ];
     nav_arr.push( { title => 'Source packages', url=>make_url('/'), name=>'Source' } ) IF is_source;
     nav_arr.push( { prefix=>'Section:', title=>'All packages in this section', url=>make_url("$subsection/"), name=>subsection } );
     nav_arr.push( { prefix=>'Package:', name=>pkg } ); -%]