]> 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:08:46 +0000 (03:08 +0000)
committerlpsolit%gmail.com <>
Sat, 27 Aug 2005 03:08:46 +0000 (03:08 +0000)
editproducts.cgi

index 59ff7bdece57071574aea5cdd3147b6d52e45a4b..5f6c32614ce53de5fd4172ecc9648e81cb4bad48 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
 #
@@ -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=" .