$contents{desc}{short} = _g( "virtual package" );
$contents{subsection} = 'virtual';
- my $policy_url = 'http://www.debian.org/doc/debian-policy/';
- note( sprintf( _g( 'This is a <em>virtual package</em>. See the <a href="%s">Debian policy</a> for a <a href="%sch-binary.html#s-virtual_pkg">definition of virtual packages</a>.' ),
- $policy_url, $policy_url ));
-
my $provided_by = $page->{provided_by};
$contents{providers} = [];
pkg_list( \%packages, $opts, $provided_by, 'en', $contents{providers} );
organisation = 'Debian'
homepage = 'http://www.debian.org/'
- packages_homepage = 'http://packages.debian.org/'
+ packages_homepage = 'http://packages.debian.net/'
searchformurl = packages_homepage
search_url = '/'
tags_url = 'http://debtags.alioth.debian.org/'
bugs_url = 'http://bugs.debian.org/'
src_bugs_url = bugs_url _ 'src:'
mirror_url = 'http://ftp.debian.org/'
- changelogs_url = '/changelogs/'
+ changelogs_url = 'http://packages.debian.org/changelogs/'
+ policy_url = 'http://www.debian.org/doc/debian-policy/'
cn_help_url = homepage _ 'intro/cn'
logo = {
url => homepage,
}
trademarknotes = organisation _ ' is a trademark of ' _ copyright.name
-%]
-[%#-
+[%-
# possible values for importance: high, normal, low
- sitewidemsg = { importance => "low",
+ sitewidemsg = { importance => "high",
txt => "Please note that this is an experimental version of <a href=\"http://packages.debian.org/\">packages.debian.org</a>. Errors and obsolete information should be expected" }
-%]
</div>
[% END %]
-[% UNLESS is_virtual %]
<div id="pdesc">
-[% IF desc.short %]
+[% UNLESS is_virtual %]
+ [% IF desc.short %]
<h2>[% desc.short %]</h2>
<p>[% desc.long %]
+ [% END %]
+[% ELSE %]
+ <p>This is a <em>virtual package</em>. See the <a href="[% policy_url %]">Debian policy</a> for a <a href="[% policy_url %]ch-binary.html#s-virtual_pkg">definition of virtual packages</a>.</p>
[% END %]
</div> <!-- end pdesc -->
-[% END %]
[% FOREACH tag IN tags %]
[% IF loop.first -%]