Forgot to account for a conditional 'also' added to some
"provided by" strings.
Reported by Kobayashi Noritada <nori1 -at- dolphin c u-tokyo ac jp>
<br>[% version %] [%- IF archive != main_archive %] [<strong class="pmarker">[% archive %]</strong>][% END %]: [% architectures.join(' ') %]
[% END %]
[% IF s.providers %]
- <br>[% 'also ' IF s.versions.size > 0 %][% g('provided by:') %] [% FOREACH provider IN s.providers %]<a href="[% make_url(provider,'','suite',suite) %]">[% provider %]</a>[% ', ' UNLESS loop.last %][% END %]
+ <br>[% IF s.versions.size > 0; g('also provided by:'); ELSE; g('provided by:'); END %]
+ [% FOREACH provider IN s.providers %]<a href="[% make_url(provider,'','suite',suite) %]">[% provider %]</a>[% ', ' UNLESS loop.last %][% END %]
[% END %]
</li>
[% END %]
[%- IF !is_old_pkgs -%]
<dd>[% desc -%]
[%- IF providers.pkgs.size > 0 -%]
- [% '<br>also a ' IF providers.also %][% g('virtual package provided by') %]
+ [% IF providers.also;
+ '<br>' _ g('also a virtual package provided by');
+ ELSE;
+ g('virtual package provided by');
+ END; %]
[% js_id = name %]
<span id="js_[% js_id %]" class="p_js_elem"></span> <span id="html_[% js_id %]">[% FOREACH provider IN providers.pkgs %]<a href="[% make_url(provider,'','suite',suite,'source','') %]">[% provider %]</a>[% ', ' UNLESS loop.last %][% END %]</span>
[% IF providers.pkgs.size > 10 %]