X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fhtml%2Fshow.tmpl;h=1d9f655eb3835620a78696cfe53ef6e473395520;hb=e454ca3e9cd32ded30b5ee29302119ccd28d71ee;hp=4a51464f68fefb8496fe3eb7a181de7f33c22c54;hpb=2ec757bb58907b15c43548be5601d4f2b8c7caac;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 4a51464..1d9f655 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -1,21 +1,32 @@ [% PROCESS 'config/archive_layout.tmpl' %] +[% PROCESS 'config/mirrors.tmpl' %] +[%- 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 } ); -%] +[% desclang = 'en'; + SET desclang = lang IF desc.$lang.long %] [%- PROCESS 'html/head.tmpl' title_tag = ( is_source ? "Details of source package $pkg in $suite" : "Details of package $pkg in $suite" ) - description = desc + description = desc.$desclang.short keywords = "$suite, $archive, $section, $subsection, $version" print_search_field = 'packages' search_field_values = { - keywords => '', searchon => is_source ? 'sourcenames' : 'names', - arch => 'any', - suite => 'all', - section => 'all', - exact => 0 } - navigation = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/'), name=>suite }, - { prefix=>'Section:', title=>'All packages in this section', url=>make_url("$subsection/"), name=>subsection }, - { prefix=>'Package:', name=>pkg } ] + navigation = nav_arr -%] [% PROCESS 'html/menu.inc' %] @@ -28,7 +39,6 @@ [%- END -%] [%- '' IF loop.last -%] [% END %] - [% IF src %]
Download Source Package [% src.pkg %]: + [% FOREACH src.downloads %] + [% '
Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. -Please be sure to consult the changelog and other possible documentation before +Please be sure to consult the [% changelog_link %] and other possible documentation before using it.
[% END %] [% IF subsection == "debian-installer" %] @@ -67,19 +157,39 @@ Do not install it on a normal Debian system.[% desc.long %] -
[% desc.$desclang.long %] + [% END %] +[% ELSE %] +
This is a virtual package. See the Debian policy for a definition of virtual packages.
[% END %] += build-depends | -= build-depends-indep | +
|
+
|
[% ELSE %]
- = depends | -= recommends | -= suggests | +
|
+
|
+
|
[% END %]
-Check for Bug Reports about [% pkg %].
-[% IF src %]
- Source Package: [% src.pkg %], Download:
- [% FOREACH src.downloads %]
- [[% name %]]
- [% END %]
- [% IF src.downloads.size == 0 %]
- Not found
- [% END %]
-[% END %]
-
-[% IF files %]
-
View the Debian changelog
-View the copyright file
-[% IF maintainers.size == 1 -%] - [%- FOREACH maintainers -%] - [% name | html %] is responsible for this Debian package. - [%- END -%] -[%- ELSE -%] - [%- FOREACH maintainers -%] - [%- IF loop.first -%] -[% name | html %] - [%- ELSIF loop.last -%] - and [% name | html %] are responsible for this Debian package. - [%- ELSE -%] -, [% name | html %] - [%- END -%] - [%- END -%] -[%- END %] -[% IF src -%] -See the developer information for [% pkg %]. -[%- END %] -
-Search for other versions of [% pkg %]
-