X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=0c27c00849c734ffd9e6160fd381224695b2a20d;hp=59a125c7830fa400fc5c3b79cfadc362a0dbde76;hb=994eceb69bd5a8865a51e00b3cfb1c7a1f03f78e;hpb=eb7a14fed094e6a7629cf5154357ccf16c6163ff
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 59a125c..0c27c00 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -176,14 +176,16 @@
[% END %]
-[% FOREACH binaries %]
+[% FOREACH b IN binaries %]
[% IF loop.first %][% g('The following binary packages are built from this source package:') %]
[% END %]
- - [% IF available %][% name %][% ELSE %][% name %][% END %]
- - [% desc %]
+ - [% 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 %]
@@ -232,12 +234,12 @@
[% '' UNLESS is_old_pkgs %]
[% FOREACH alternatives %]
[% '' IF loop.first %]
- - [% IF loop.first %][% id %]:[% ELSE %]or [% END %]
+
- [% IF loop.first %][% id %]:[% ELSE %][% g('or ') %][% END %]
[% IF suite %][% name %][% ELSE %][% name %][% END %]
[% ' (' _ version _ ')' IF version %]
[% ' [' _ arch_str _ ']' IF arch_str %]
[%- IF !is_old_pkgs -%]
- - [% desc -%]
+
- [% IF trans_desc.$lang; trans_desc.$lang | html; ELSE; desc | html; END -%]
[%- IF providers.pkgs.size > 0 -%]
[% IF providers.also;
'
' _ g('also a virtual package provided by');