From: doogie <> Date: Thu, 22 Nov 2001 09:02:35 +0000 (-0800) Subject: [project @ 2001-11-22 01:02:35 by doogie] X-Git-Tag: release/2.6.0~1083 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=896e6a31bd1fab7bdc6c25533e818d005c9c7424;p=debbugs.git [project @ 2001-11-22 01:02:35 by doogie] Fix textual formatting. --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 3fb8600c..ca406fb6 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -155,14 +155,19 @@ if (defined $pkg || defined $src) { if ($pkg) { print "You may want to refer to the following packages that are part of the same source:
\n"; } else { - print "You may want to refer to the following packages' individual bug pages:
\n"; + print "You may want to refer to the following individual bug pages:
\n"; } print join( ", ", map( "$_", @pkgs ) ); - print "\n"; + print ".\n"; } if ($pkg) { my $stupidperl = ${debbugs::gPackagePages}; - printf "

You might like to refer to the %s package page, or to the source package %s's bug page.

\n", urlsanit("http://${debbugs::gPackagePages}/$pkg"), htmlsanit("$pkg"), urlsanit(srcurl($pkg)), $pkgsrc{$pkg}; + printf "

You might like to refer to the %s package page", urlsanit("http://${debbugs::gPackagePages}/$pkg"), htmlsanit("$pkg"); + if ($src) { + printf ", or to the source package %s's bug page.

\n", srcurl($pkg), htmlsanit($pkgsrc{$pkg}); + } else { + printf ".\n"; + } } } elsif (defined $maint || defined $maintenc) { print "

Note that maintainers may use different Maintainer fields for\n";