mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
fix for 44617: edit*.cgi: Should show which product you're working on
patches by mtakacs@pacbell.net (Tak)
This commit is contained in:
parent
ba961c7de7
commit
89cb993e96
@ -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} || '');
|
||||
|
@ -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');
|
||||
|
@ -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} || '');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user