From 903f703c12a4f310658ef0abeed6cd9f9e1fc97f Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Thu, 28 Jan 1999 05:17:06 +0000 Subject: Added three new fields (which appear in the UI only if params are turned on): target_milestone, qa_contact, and status_whiteboard. --- long_list.cgi | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'long_list.cgi') diff --git a/long_list.cgi b/long_list.cgi index 1fb019496..18f3c0e27 100755 --- a/long_list.cgi +++ b/long_list.cgi @@ -46,7 +46,10 @@ select report.login_name, bugs.component, bugs.bug_file_loc, - bugs.short_desc + bugs.short_desc, + bugs.target_milestone, + bugs.qa_contact, + bugs.status_whiteboard from bugs,profiles assign,profiles report where assign.userid = bugs.assigned_to and report.userid = bugs.reporter and "; @@ -60,7 +63,8 @@ foreach my $bug (split(/:/, $::FORM{'buglist'})) { if (@row = FetchSQLData()) { my ($id, $product, $version, $platform, $opsys, $status, $severity, $priority, $resolution, $assigned, $reporter, $component, $url, - $shortdesc) = (@row); + $shortdesc, $target_milestone, $qa_contact, + $status_whiteboard) = (@row); print "\n"; print "\n"; print "
" . @@ -77,10 +81,24 @@ foreach my $bug (split(/:/, $::FORM{'buglist'})) { print "
\n"; print "
Resolution: $resolutionAssigned To: $assigned\n"; print "Reported By: $reporter\n"; + if (Param("useqacontact")) { + my $name = ""; + if ($qa_contact > 0) { + $name = DBID_to_name($qa_contact); + } + print "QA Contact: $name\n"; + } print "
Component: $component\n"; + if (Param("usetargetmilestone")) { + print "Target milestone:$target_milestone\n"; + } print "
URL: " . html_quote($url) . "\n"; - print "
Summary            : " . html_quote($shortdesc) . "\n"; - print "
Description        :\n
\n"; + print "Summary: " . html_quote($shortdesc) . "\n"; + if (Param("usestatuswhiteboard")) { + print "Status Whiteboard:" . + html_quote($status_whiteboard) . "\n"; + } + print "Description:\n\n"; print "
" . html_quote(GetLongDescription($bug)) . "
\n"; print "
\n"; } -- cgit v1.2.3-24-g4f1b