]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 65320: Extra options on editproducts.cgi & editcomponents.cgi; r=jouni; a=justdave.
authorjocuri%softhome.net <>
Sun, 16 Nov 2003 17:30:06 +0000 (17:30 +0000)
committerjocuri%softhome.net <>
Sun, 16 Nov 2003 17:30:06 +0000 (17:30 +0000)
editcomponents.cgi
editproducts.cgi

index adf41ea1fc239a679934f671d1cdee7b40a97b0b..67ccfcd8ad1d192034051461452182449f7527f2 100755 (executable)
@@ -478,11 +478,13 @@ if ($action eq 'new') {
         PutTrailer("<a href=\"editcomponents.cgi?product=" .
             url_quote($product) . "\">edit</a> more components",
             "<a href=\"editcomponents.cgi?product=". url_quote($product) .
-            "&action=add\">add</a> another component");
+            "&action=add\">add</a> another component",
+            "<a href=\"editproducts.cgi?action=add\">add</a> a new product");
     } else {
         PutTrailer("<a href=\"editcomponents.cgi\">edit</a> more components",
             "<a href=\"editcomponents.cgi?action=add\">add</a>" .
-            "another component");
+            "another component",
+            "<a href=\"editproducts.cgi?action=add\">add</a> a new product");
     }
     exit;
 }
index 5cc10ddc28489c72ec0b9032ba5c7e46dd846e83..07dbcc9e399d7b315a701c35ba9684c2b9064f7f 100755 (executable)
@@ -436,6 +436,7 @@ if ($action eq 'new') {
 
     print "OK, done.<p>\n";
     PutTrailer($localtrailer,
+        "<a href=\"editproducts.cgi?action=add\">add</a> a new product",
         "<a href=\"editcomponents.cgi?action=add&product=" .
         url_quote($product) . "\">add</a> components to this new product");
     exit;