diff options
author | terry%netscape.com <> | 1999-02-03 11:46:50 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1999-02-03 11:46:50 +0100 |
commit | 5ac3c944912d06910b0273dc801b04b981245ba3 (patch) | |
tree | 03d977fa86224dfce6481c003e8f9f775c0e66da /bug_form.pl | |
parent | 45bdc539bf1ab07333502d1ab63ae5c44dd05ddb (diff) | |
download | bugzilla-5ac3c944912d06910b0273dc801b04b981245ba3.tar.gz bugzilla-5ac3c944912d06910b0273dc801b04b981245ba3.tar.xz |
Added support for URLs that describe the milestones for various projects.
Diffstat (limited to 'bug_form.pl')
-rw-r--r-- | bug_form.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bug_form.pl b/bug_form.pl index 595d5808e..8876f8827 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -146,11 +146,18 @@ print " <TD>$bug{'assigned_to'}</TD>"; if (Param("usetargetmilestone")) { + my $url = ""; + if (defined $::milestoneurl{$bug{'product'}}) { + $url = $::milestoneurl{$bug{'product'}}; + } + if ($url eq "") { + $url = "notargetmilestone.html"; + } if ($bug{'target_milestone'} eq "") { $bug{'target_milestone'} = " "; } print " -<TD ALIGN=RIGHT><B>Target Milestone:</B></TD> +<TD ALIGN=RIGHT><A href=\"$url\"><B>Target Milestone:</B></A></TD> <TD><SELECT NAME=target_milestone>" . make_options(\@::legal_target_milestone, $bug{'target_milestone'}) . |