summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-02-03 11:46:50 +0100
committerterry%netscape.com <>1999-02-03 11:46:50 +0100
commit5ac3c944912d06910b0273dc801b04b981245ba3 (patch)
tree03d977fa86224dfce6481c003e8f9f775c0e66da /bug_form.pl
parent45bdc539bf1ab07333502d1ab63ae5c44dd05ddb (diff)
downloadbugzilla-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.pl9
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'}) .