X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=1a7ca12af399148d4952d9f4c9dbef494448812e;hb=25e5281f713a5872790b648c8ed83509ee6a4c9a;hp=b0929244cc33fa09c5dd4c6e5dda82a89ab020b6;hpb=32f5a5ba7f66aedf7afc095dce485073fe030b88;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b092924..1a7ca12 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,8 @@ [% 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' %] [% IF suite == "experimental" || subsection == "debian-installer" %]
@@ -64,8 +64,10 @@ Do not install it on a normal Debian system.

[% UNLESS is_virtual %]
-

[% desc.short %]

-

[% desc.long %] +[% IF desc.short %] +

[% desc.short %]

+

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

[% END %] @@ -234,7 +236,29 @@ View the copyright filedeveloper 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 %]