]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for 44617: edit*.cgi: Should show which product you're working on
authorcyeh%bluemartini.com <>
Thu, 31 Aug 2000 06:44:35 +0000 (06:44 +0000)
committercyeh%bluemartini.com <>
Thu, 31 Aug 2000 06:44:35 +0000 (06:44 +0000)
patches by mtakacs@pacbell.net (Tak)

editcomponents.cgi
editmilestones.cgi
editversions.cgi

index 9f7f43f6c2cdcb44780bc787c548a6495f790a33..787c6983a9519c4c5eacb70d6de687c3dc358962 100755 (executable)
@@ -263,7 +263,7 @@ unless ($product) {
 #
 
 unless ($action) {
-    PutHeader("Select component");
+    PutHeader("Select component of $product");
     CheckProduct($product);
 
     if ($dobugcounts) {
@@ -330,7 +330,7 @@ $dobugcounts = 1;               # Stupid hack to force further PutTrailer()
 #
 
 if ($action eq 'add') {
-    PutHeader("Add component");
+    PutHeader("Add component of $product");
     CheckProduct($product);
 
     #print "This page lets you add a new product to bugzilla.\n";
@@ -358,7 +358,7 @@ if ($action eq 'add') {
 #
 
 if ($action eq 'new') {
-    PutHeader("Adding new component");
+    PutHeader("Adding new component of $product");
     CheckProduct($product);
 
     # Cleanups and valididy checks
@@ -440,7 +440,7 @@ if ($action eq 'new') {
 #
 
 if ($action eq 'del') {
-    PutHeader("Delete component");
+    PutHeader("Delete component of $product");
     CheckComponent($product, $component);
 
     # display some data about the component
@@ -556,7 +556,7 @@ one.";
 #
 
 if ($action eq 'delete') {
-    PutHeader("Deleting component");
+    PutHeader("Deleting component of $product");
     CheckComponent($product,$component);
 
     # lock the tables before we start to change everything:
@@ -620,7 +620,7 @@ if ($action eq 'delete') {
 #
 
 if ($action eq 'edit') {
-    PutHeader("Edit component");
+    PutHeader("Edit component of $product");
     CheckComponent($product,$component);
 
     # get data of component
@@ -682,7 +682,7 @@ if ($action eq 'edit') {
 #
 
 if ($action eq 'update') {
-    PutHeader("Update component");
+    PutHeader("Update component of $product");
 
     my $componentold        = trim($::FORM{componentold}        || '');
     my $description         = trim($::FORM{description}         || '');
index fcd81ea0941c74d9997374d97ff201c4c31fc069..9eadeeba2dcbb343c9382f91127ae6971f17b69a 100755 (executable)
@@ -212,7 +212,7 @@ unless ($product) {
 #
 
 unless ($action) {
-    PutHeader("Select milestone");
+    PutHeader("Select milestone for $product");
     CheckProduct($product);
 
     SendSQL("SELECT value,sortkey
@@ -255,7 +255,7 @@ unless ($action) {
 #
 
 if ($action eq 'add') {
-    PutHeader("Add milestone");
+    PutHeader("Add milestone for $product");
     CheckProduct($product);
 
     #print "This page lets you add a new milestone to a $::bugzilla_name tracked product.\n";
@@ -283,7 +283,7 @@ if ($action eq 'add') {
 #
 
 if ($action eq 'new') {
-    PutHeader("Adding new milestone");
+    PutHeader("Adding new milestone for $product");
     CheckProduct($product);
 
     # Cleanups and valididy checks
@@ -326,7 +326,7 @@ if ($action eq 'new') {
 #
 
 if ($action eq 'del') {
-    PutHeader("Delete milestone");
+    PutHeader("Delete milestone of $product");
     CheckMilestone($product, $milestone);
 
     SendSQL("SELECT count(bug_id),product,target_milestone
@@ -401,7 +401,7 @@ one.";
 #
 
 if ($action eq 'delete') {
-    PutHeader("Deleting milestone");
+    PutHeader("Deleting milestone of $product");
     CheckMilestone($product,$milestone);
 
     # lock the tables before we start to change everything:
@@ -466,7 +466,7 @@ if ($action eq 'delete') {
 #
 
 if ($action eq 'edit') {
-    PutHeader("Edit milestone");
+    PutHeader("Edit milestone of $product");
     CheckMilestone($product,$milestone);
 
     SendSQL("SELECT sortkey FROM milestones WHERE product=" .
@@ -502,7 +502,7 @@ if ($action eq 'edit') {
 #
 
 if ($action eq 'update') {
-    PutHeader("Update milestone");
+    PutHeader("Update milestone of $product");
 
     my $milestoneold = trim($::FORM{milestoneold} || '');
     my $sortkeyold = trim($::FORM{sortkeyold} || '0');
index afc223bd8dfcc55cf1942fffafaecc00a3744112..0efbc070b86ec0e601040e437d1c57049f58f4b9 100755 (executable)
@@ -222,7 +222,7 @@ unless ($product) {
 #
 
 unless ($action) {
-    PutHeader("Select version");
+    PutHeader("Select version of $product");
     CheckProduct($product);
 
 =for me
@@ -277,7 +277,7 @@ unless ($action) {
 #
 
 if ($action eq 'add') {
-    PutHeader("Add version");
+    PutHeader("Add version of $product");
     CheckProduct($product);
 
     #print "This page lets you add a new version to a bugzilla-tracked product.\n";
@@ -348,7 +348,7 @@ if ($action eq 'new') {
 #
 
 if ($action eq 'del') {
-    PutHeader("Delete version");
+    PutHeader("Delete version of $product");
     CheckVersion($product, $version);
 
     SendSQL("SELECT count(bug_id),product,version
@@ -412,7 +412,7 @@ one.";
 #
 
 if ($action eq 'delete') {
-    PutHeader("Deleting version");
+    PutHeader("Deleting version of $product");
     CheckVersion($product,$version);
 
     # lock the tables before we start to change everything:
@@ -477,7 +477,7 @@ if ($action eq 'delete') {
 #
 
 if ($action eq 'edit') {
-    PutHeader("Edit version");
+    PutHeader("Edit version of $product");
     CheckVersion($product,$version);
 
     print "<FORM METHOD=POST ACTION=editversions.cgi>\n";
@@ -507,7 +507,7 @@ if ($action eq 'edit') {
 #
 
 if ($action eq 'update') {
-    PutHeader("Update version");
+    PutHeader("Update version of $product");
 
     my $versionold = trim($::FORM{versionold} || '');