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. --- bug_form.pl | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 4 deletions(-) (limited to 'bug_form.pl') diff --git a/bug_form.pl b/bug_form.pl index 003151423..595d5808e 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -37,6 +37,9 @@ select reporter, bug_file_loc, short_desc, + target_milestone, + qa_contact, + status_whiteboard, date_format(creation_ts,'Y-m-d') from bugs where bug_id = $::FORM{'id'}"; @@ -49,7 +52,8 @@ if (@row = FetchSQLData()) { foreach my $field ("bug_id", "product", "version", "rep_platform", "op_sys", "bug_status", "resolution", "priority", "bug_severity", "component", "assigned_to", "reporter", - "bug_file_loc", "short_desc", "creation_ts") { + "bug_file_loc", "short_desc", "target_milestone", + "qa_contact", "status_whiteboard", "creation_ts") { $bug{$field} = shift @row; if (!defined $bug{$field}) { $bug{$field} = ""; @@ -139,8 +143,38 @@ print " Assigned To: - $bug{'assigned_to'} - + $bug{'assigned_to'}"; + +if (Param("usetargetmilestone")) { + if ($bug{'target_milestone'} eq "") { + $bug{'target_milestone'} = " "; + } + print " +Target Milestone: +"; +} + +print " +"; + +if (Param("useqacontact")) { + my $name = $bug{'qa_contact'} > 0 ? DBID_to_name($bug{'qa_contact'}) : ""; + print " + + QA Contact: + + "; +} + + +print " + $URL @@ -150,7 +184,21 @@ print " - + "; + +if (Param("usestatuswhiteboard")) { + print " + + Status Whiteboard: + + "; +} + + +print "
Additional Comments: @@ -239,3 +287,5 @@ print " navigation_header(); print "\n"; + +1; -- cgit v1.2.3-24-g4f1b