From owner-freebsd-bugs Sun Jun 17 20:40:16 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 49FBD37B409 for ; Sun, 17 Jun 2001 20:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5I3e2I37932; Sun, 17 Jun 2001 20:40:02 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 52A2E37B401 for ; Sun, 17 Jun 2001 20:37:47 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5I3blH37824; Sun, 17 Jun 2001 20:37:47 -0700 (PDT) (envelope-from nobody) Message-Id: <200106180337.f5I3blH37824@freefall.freebsd.org> Date: Sun, 17 Jun 2001 20:37:47 -0700 (PDT) From: Mike Heffner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/28248: Print the synposis of a PR in the of query-pr Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-bugs.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo?subject=subscribe%20freebsd-bugs> List-Unsubscribe: <mailto:majordomo?subject=unsubscribe%20freebsd-bugs> X-Loop: FreeBSD.org >Number: 28248 >Category: misc >Synopsis: Print the synposis of a PR in the <title> of query-pr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Sun Jun 17 20:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mike Heffner >Release: N/A >Organization: >Environment: N/A >Description: Sometimes when I'm viewing a multipage PR I'd like to quickly remember the synposis for the current PR I'm looking at. Rather than page all the way back up to top, I think it would be convienent if the synposis was also printed in the titlebar. >How-To-Repeat: Be at the bottom of a multipage PR reviewing a patch, or reading the audit-trial, and have a need to quickly remember what the PR was about and be annoyed when you have to scroll all the way back to the top. Or be working on several PRs at once and want to find a specific one but you don't remember the tracking number. Be annoyed when you have to pull up several windows before finding the correct one. >Fix: This is a quick patch I made, not sure if it's the best way to do it however: Index: query-pr.cgi =================================================================== RCS file: /home/ncvs/www/en/cgi/query-pr.cgi,v retrieving revision 1.25 diff -u -r1.25 query-pr.cgi --- query-pr.cgi 2000/12/29 12:43:12 1.25 +++ query-pr.cgi 2001/06/18 03:31:32 @@ -136,7 +136,8 @@ $syn =~ s/[\t]+/ /g; $origsyn = $syn; $syn = &fixline($syn); - print &html_header("Problem Report $cat/$number"); + print &short_html_header("Problem Report $cat/$number: $syn"); + print "<h1><font color=\"#660000\">Problem Report $cat/$number</font></h1>\n"; print "<strong>$syn</strong><p>\n<dl>\n"; } else { next if $inhdr; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message