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
git-svn-id: svn://10.0.0.236/trunk@179091 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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=" .
|
||||
|
||||
Reference in New Issue
Block a user