X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=inline;f=templates%2Fhtml%2Fshow.tmpl;h=1d9f655eb3835620a78696cfe53ef6e473395520;hb=e454ca3e9cd32ded30b5ee29302119ccd28d71ee;hp=544fe2ecb8895488bbd8ee222b194f3e8160b119;hpb=481894d0140e4c0ce1b1e4b339cec691837b5ac5;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 544fe2e..1d9f655 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -1,6 +1,17 @@ [% PROCESS 'config/archive_layout.tmpl' %] [% PROCESS 'config/mirrors.tmpl' %] -[%- nav_arr = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/','','source',''), name=>suite }, ]; +[%- known_vcs = [ [ 'cvs', 'CVS', 'cvs' ], + [ 'svn', 'Subversion', 'subversion' ], + [ 'bzr', 'bzr', 'bzr' ], + [ 'darcs', 'Darcs', 'darcs' ], + [ 'arch', 'arch', 'tla' ], + [ 'git', 'Git', 'git-core' ], + [ 'hg', 'Hg', 'mercurial' ], ]; + vcs_link = page.get_newest("vcs-browser"); +-%] +[%- 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 } ); -%] @@ -65,27 +76,20 @@
Debian Package Repository (VCS:
-[% vcs_name %]):
[% vcs_info %]
Debian Package Repository (Browsable):
[% vcs_link %]
Download Source Package [% src.pkg %]: @@ -113,10 +117,12 @@ [%- END -%] [% url = page.get_newest('url'); - url = page.get_newest('homepage'); + SET url = page.get_newest('homepage') IF page.get_newest('homepage'); IF url %]
Homepage: [% url | html %]
+= build-depends | -= build-depends-indep | +
|
+
|
[% ELSE %]
- = depends | -= recommends | -= suggests | +
|
+
|
+
|
[% END %]