X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=fb6f9ac7e6eede7201c5a1f497aab8dc27841588;hb=154190ac83a7c63cc450c6e139ff5ee3247b13b1;hp=b0929244cc33fa09c5dd4c6e5dda82a89ab020b6;hpb=078ddbf7006d957bbef2daa9735ec9a8bf3d8fcd;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b092924..fb6f9ac 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -23,7 +23,6 @@ [%- END -%] [%- '' IF loop.last -%] [% END %] - [% IF src %]
@@ -42,7 +41,81 @@ [% END %] [%- PROCESS marker text=archive IF archive && archive != main_archive %] [%- PROCESS marker text=subsection IF subsection == 'non-US' and archive != 'non-US' %] -[%- PROCESS marker text=section IF section && section != main_section %] +[%- 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', 'cvs' ], + [ 'svn', 'Subversion', 'subversion' ], + [ 'bzr', 'bzr', 'bzr' ], + [ 'darcs', 'Darcs', 'darcs' ], + [ 'arch', 'arch', 'tla' ], + [ 'git', 'Git', 'git-core' ], ]; + FOREACH vcs IN known_vcs; + vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2; + 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 %] + (QA Page) + [%- 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" %]
@@ -62,19 +135,34 @@ Do not install it on a normal Debian system.

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

[% desc.short %]

-

[% desc.long %] -

+[% UNLESS is_virtual %] + [% IF desc.short %] +

[% desc.short %]

+

[% desc.long %] + [% END %] +[% ELSE %] +

This is a virtual package. See the Debian policy for a definition of virtual packages.

[% END %] +
[% FOREACH tag IN tags %] [% IF loop.first -%]

Tags: [%- END %] - [% tag %][% ', ' UNLESS loop.last %] + [% facet = tag.0; + facet_name = debtags_voc.$facet; + tag_id = "$tag.0::$tag.1"; + tag_name = debtags_voc.$tag_id; + %] + [% facet_name _ ': ' UNLESS old_facet && facet == old_facet %] + [% IF tag_name %] + [% tag_name %][% ', ' UNLESS loop.last %] + [% ELSE %] + [% tag_id %][% ', ' UNLESS loop.last %] + [% END %] + [% old_facet = facet %] [% IF loop.last -%]

@@ -197,45 +285,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 %]. -[%- END %] -

-

Search for other versions of [% pkg %]

-
-[% END %]