X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoShow.pm;h=5b22552f348a79906045128eb63ab589df46c331;hb=411dd86a5f305fcce69912b47f84dc16914d2da1;hp=e3e1945b6b7cc7123e4705a47f681e79f16106f1;hpb=8d29452530e823cbcd07a30898e98abe565a046c;p=deb%2Fpackages.git
diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm
index e3e1945..5b22552 100644
--- a/lib/Packages/DoShow.pm
+++ b/lib/Packages/DoShow.pm
@@ -70,7 +70,7 @@ sub do_show {
unless (@results || @non_results ) {
fatal_error( _g( "No such package." )."
".
- sprintf( _g( 'Search for the package' ), "$SEARCH_URL/$pkg" ) );
+ sprintf( _g( 'Search for the package' ), make_search_url('','keywords='.uri_escape($pkg)) ) );
} else {
my %all_suites;
foreach (@results, @non_results) {
@@ -82,7 +82,7 @@ sub do_show {
if ($suite eq $_) {
$$menu .= "[ $_ ] ";
} else {
- $$menu .= "[ $suite})."\">$_ ] ";
+ $$menu .= "[ $_})."\">$_ ] ";
}
}
$$menu .= '
';
@@ -122,6 +122,7 @@ sub do_show {
debug( "Data search and merging took ".timestr($std) ) if DEBUG;
my $did = $page->get_newest( 'description' );
+ my @tags = split(/, /, $page->get_newest( 'tag' ));
$section = $page->get_newest( 'section' );
$subsection = $page->get_newest( 'subsection' );
my $filenames = $page->get_arch_field( 'filename' );
@@ -152,7 +153,6 @@ sub do_show {
_g( "All packages in this section" ),
make_url("$subsection/",''),
$subsection ], );
- my $source = $page->get_src('package');
push @menu, [ _g( "Source:" ),
_g( "Source package building this package" ),
make_url($source,'',{source=>'source'}),
@@ -184,6 +184,7 @@ sub do_show {
);
}
$package_page .= pdesc( $short_desc, $long_desc );
+ $package_page .= ptags( $pkg, @tags ) if @tags;
#
# display dependencies
@@ -240,7 +241,8 @@ sub do_show {
$package_page .= sprintf(_g('%d kB'),
$sizes_inst->{$a});
$package_page .= "\n