X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=1d9f655eb3835620a78696cfe53ef6e473395520;hb=e454ca3e9cd32ded30b5ee29302119ccd28d71ee;hp=2be807156bee8bb0144325822c5cf0f96491c02b;hpb=ee1229bf379cb681a4805bf97ecdea9e60a7efb8;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 2be8071..1d9f655 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -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 } ); -%] @@ -215,14 +217,14 @@ Do not install it on a normal Debian system.

Other Packages Related to [% pkg %]

- +
[% IF is_source %] - - + + [% ELSE %] - - - + + + [% END %]
[adep]= build-depends[idep]= build-depends-indep
  • build-depends
  • build-depends-indep
[dep]= depends[rec]= recommends[sug]= suggests
  • depends
  • recommends
  • suggests
[%- END %] @@ -232,7 +234,7 @@ Do not install it on a normal Debian system.

[% '
  • ' UNLESS is_old_pkgs %] [% FOREACH alternatives %] [% '
    ' IF loop.first %] -
    [% IF loop.first %][[% id %]][% ELSE %]or [% END %] +
    [% IF loop.first %][% id %]:[% ELSE %]or [% END %] [% IF suite %][% name %][% ELSE %][% name %][% END %] [% ' (' _ version _ ')' IF version %] [% ' [' _ arch_str _ ']' IF arch_str %]