X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=b7e2d72c4e28d049ad94df5ea0cce8435e54f5ab;hb=26a5ae96402afc64e995356c88bfc2ea08eb1b3d;hp=22856b0416abeba1fcbdebce7f1e8a457746507f;hpb=d4e0a5b0329b5247898b6d991b651f7df1f388bb;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 22856b0..b7e2d72 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -144,6 +144,11 @@ Do not install it on a normal Debian system.

[% END %] +
+
+ +[% IF desc %] +
[% UNLESS is_virtual %] [% IF desc.short %] @@ -184,9 +189,11 @@ Do not install it on a normal Debian system.

[% desc %]
[% '
' IF loop.last %] [% END %] +
+[% END %] [% FOREACH binaries %] - [% IF loop.first %]
The following binary packages are built from this source package:
[% END %] + [% IF loop.first %]
The following binary packages are built from this source package:
[% END %]
[% IF available %][% name %][% ELSE %][% name %][% END %]
[% desc %]
[% '
' IF loop.last %] @@ -255,7 +262,16 @@ Do not install it on a normal Debian system.

filelist_url = pkg _ '/' _ d.arch _ '/filelist' %] [% d.arch %] [%- SET a = d.archive; IF mirrors.$a.unofficial_port %] (unofficial port)[% END %] -[% '' _ d.version _ '' IF versions.multiple %] +[% vnorm = d.version.replace( '\+b\d+$', '' ); vlatest = version.replace( '\+b\d+$', '' ); + vup = vnorm.replace( '-[^-]+$', '' ); vuplatest = vlatest.replace( '-[^-]+$', '' ); + IF vnorm == vlatest; + version_class = 'vcurrent'; + ELSIF vup == vuplatest; + version_class = 'volder'; + ELSE; + version_class = 'vold'; + END %] +[% "$d.version" IF versions.multiple %] [% d.pkgsize %] kB[% d.instsize %] kB [% IF contents_avail %] @@ -295,3 +311,5 @@ Do not install it on a normal Debian system.

[%- END %] [% END %] + +