]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 306060: Adding a new product should make it clear that a component is also requir...
authorlpsolit%gmail.com <>
Sat, 27 Aug 2005 03:13:07 +0000 (03:13 +0000)
committerlpsolit%gmail.com <>
Sat, 27 Aug 2005 03:13:07 +0000 (03:13 +0000)
editproducts.cgi

index 9c5384d6ce2f35c41211018237310dece8359c8d..66a16131b262ae56cf613f2b35f2c94c1498a00d 100755 (executable)
@@ -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
 #
@@ -615,6 +616,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=" .