Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 20:37:47 -0700 (PDT)
From:      Mike Heffner <mikeh@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/28248: Print the synposis of a PR in the <title> of query-pr
Message-ID:  <200106180337.f5I3blH37824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106180337.f5I3blH37824>