summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-27 05:08:46 +0200
committerlpsolit%gmail.com <>2005-08-27 05:08:46 +0200
commitd8a52b79b5b12e2e002614bc0aea343a9a535258 (patch)
tree3b5b0c37d7c650be82d8154a7cbe331c0ea55054 /editproducts.cgi
parent6db7045a8b6760d884072e09dd976c9653519244 (diff)
downloadbugzilla-d8a52b79b5b12e2e002614bc0aea343a9a535258.tar.gz
bugzilla-d8a52b79b5b12e2e002614bc0aea343a9a535258.tar.xz
Bug 306060: Adding a new product should make it clear that a component is also required to enter bugs - Patch by Greg Hendricks <ghendricks@novell.com> r=LpSolit a=justdave
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index 59ff7bdec..5f6c32614 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -24,6 +24,7 @@
# Joe Robins <jmrobins@tgix.com>
# Gavin Shelley <bugzilla@chimpychompy.org>
# Frédéric Buclin <LpSolit@gmail.com>
+# Greg Hendricks <ghendricks@novell.com>
#
# Direct any questions on this source code to
#
@@ -614,6 +615,10 @@ if ($action eq 'new') {
unlink "$datadir/versioncache";
print "OK, done.<p>\n";
+ print "<div style='border: 1px red solid; padding: 1ex;'><b>You will need to
+ <a href=\"editcomponents.cgi?action=add&product=" .
+ url_quote($product) . "\">add at least one
+ component</a> before you can enter bugs against this product.</b></div>";
PutTrailer($localtrailer,
"<a href=\"editproducts.cgi?action=add\">add</a> a new product",
"<a href=\"editcomponents.cgi?action=add&product=" .