X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=436c3a84921fd6f679f492283970e86f62d9e6fd;hb=a6b0139eb597c756080bf39b1708abf10f8e3a22;hp=222159341b46da13e40d61bd5df96781e9125bf6;hpb=44c93c3f354ded054d8e07e77a59ee2a5ba4a9fc;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 2221593..436c3a8 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -198,7 +198,7 @@ [% FOREACH p IN providers %] [% IF loop.first %]

[% g('Packages providing %s', pkg) %]

[% END %] -
[% IF p.available %][% p.name %][% ELSE; p.name; END %]
+
[% IF p.available %][% p.name %][% ELSE; p.name; END %]
[% IF p.trans_desc.$lang; p.trans_desc.$lang | html; ELSE; p.desc | html; END %]
[% '
' IF loop.last %] [% END %] @@ -207,7 +207,7 @@ [% FOREACH b IN binaries %] [% IF loop.first %]
[% g('The following binary packages are built from this source package:') %]
[% END %] -
[% IF b.available %][% b.name %][% ELSE; b.name; END %]
+
[% IF b.available %][% b.name %][% ELSE; b.name; END %]
[% IF b.trans_desc.$lang; b.trans_desc.$lang | html; ELSE; b.desc | html; END %]
[% '
' IF loop.last %] [% END %] @@ -280,9 +280,9 @@ [%- END %] -[% download_url = pkg _ '/' _ d.arch _ '/download' - filelist_url = pkg _ '/' _ d.arch _ '/filelist' %] -[% d.arch %] +[% download_url = pkg _ '/download' + filelist_url = pkg _ '/filelist' %] +[% d.arch %] [%- SET a = d.archive; IF mirrors.$a.unofficial_port %] [% g('(unofficial port)') %][% END %] [% vnorm = d.version.replace( '\+b\d+$', '' ); vlatest = version.replace( '\+b\d+$', '' ); vup = vnorm.replace( '-[^-]+$', '' ); vuplatest = vlatest.replace( '-[^-]+$', '' ); @@ -297,7 +297,7 @@ [% g('%.1f kB', d.pkgsize) %][% g('%u kB', d.instsize) %] [% IF d.contents_avail %] - [[% g('list of files') %]] + [[% g('list of files') %]] [% ELSE %] [% g('no current information') %] [% END %]