X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=43e5ca1c891690b3f5ca2f61170530607143188c;hb=41ab743eae0a7875cf03a8b50a060da06af30b39;hp=b0929244cc33fa09c5dd4c6e5dda82a89ab020b6;hpb=078ddbf7006d957bbef2daa9735ec9a8bf3d8fcd;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b092924..43e5ca1 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,76 @@ [% 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' ], + [ '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" %]
@@ -62,19 +130,27 @@ 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 %] + [% IF tag.1 %] + [% tag.1 %][% ', ' UNLESS loop.last %] + [% ELSE %] + [% tag.0 %][% ', ' UNLESS loop.last %] + [% END %] [% IF loop.last -%]

@@ -197,45 +273,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 %]