X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=fba7dfe8bb976909620e207a54c9dc2ede5fb3f3;hp=1a7ca12af399148d4952d9f4c9dbef494448812e;hb=d91be7084282f1c9e1df96ce160c5621145f4fc2;hpb=25e5281f713a5872790b648c8ed83509ee6a4c9a diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 1a7ca12..fba7dfe 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -44,6 +44,74 @@ [%- PROCESS marker text=section IF section && section != main_section %] [%- PROCESS marker text='essential' IF page.get_newest('essential') == 'yes' %] +[% UNLESS is_virtual %] +
+

Links for [% pkg %]

+

Debian Resources:

+ + +[% #FIXME: should this only be used for the PTS? + known_vcs = [ [ 'cvs', 'CVS' ], + [ 'svn', 'Subversion' ], + [ 'bzr', 'bzr' ], + [ 'darcs', 'Darcs'], + [ 'arch', 'arch' ] ]; + FOREACH vcs IN known_vcs; + vcs_id = vcs.0; vcs_name = vcs.1; + vcs_info = page.get_newest("vcs-$vcs_id"); + SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info; + IF vcs_info; %] +

Debian Package Repository (VCS: [% vcs_name %]):
[% vcs_info %]

+[% END; END %] + +[% IF src %] +

Download Source Package [% src.pkg %]: + [% FOREACH src.downloads %] + [% '

' IF loop.last %] + [% END %] + [% IF src.downloads.size == 0 %] + Not found + [% END %] +[% END %] + +[% IF maintainers.size == 1 -%] +

Maintainer:

+ [%- FOREACH maintainers -%] + [% name | html %] + [%- END -%] +[%- ELSE -%] +

Maintainers:

+ [%- FOREACH maintainers -%] + [%- '' IF loop.last -%] + [%- END -%] +[%- END %] + +[% url = page.get_newest('url'); + IF url %] +

External Resources:

+

Homepage: [% url | html %]

+[% END %] + +
+[% END %] + [% IF suite == "experimental" || subsection == "debian-installer" %]
[% IF suite == "experimental" %] @@ -199,67 +267,3 @@ Do not install it on a normal Debian system.

[%- END %] [% END %] - -[% UNLESS is_virtual %] -
-

More Information on [% pkg %]

-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

-[% END %] -

-[% 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 %]. -[% ELSIF is_source %] -See the developer information for [% pkg %]. -[%- END %] -[% # use url only for source packages - # otherwise we have too often two home page links - url = page.get_newest('url'); - IF is_source && url %] -

Homepage: [% url | html %]

-[% END %] -[% #FIXME: should this only be used for the PTS? - known_vcs = [ [ 'cvs', 'CVS' ], - [ 'svn', 'Subversion' ], - [ 'bzr', 'bzr' ], - [ 'darcs', 'Darcs'], - [ 'arch', 'arch' ] ]; - FOREACH vcs IN known_vcs; - vcs_id = vcs.0; vcs_name = vcs.1; - vcs_info = page.get_newest("vcs-$vcs_id"); - SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info; - IF vcs_info; %] -

Repository for Debian package: [% vcs_info %] (VCS: [% vcs_name %])

-[% END; END %] - -

-

Search for other versions of [% pkg %]

-
-[% END %]