Bug 271034. Require Comment for Approval Request Denial
git-svn-id: svn://10.0.0.236/trunk@165558 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e6306b66ea
commit
9a0a6ab033
@ -66,7 +66,7 @@ if ($type=="T") {
|
||||
$approval_result = process_approval($type, $file, "approve");
|
||||
}
|
||||
} else {
|
||||
if ($testos and $testbuild) {
|
||||
if ($testos and $testbuild and $comments) {
|
||||
$approval_result = process_approval($type, $file, "deny");
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ if ($type=="T") {
|
||||
$approval_result = process_approval($type, $file, "approve");
|
||||
}
|
||||
} else {
|
||||
if ($testos and $testbuild) {
|
||||
if ($testos and $testbuild and $comments) {
|
||||
$approval_result = process_approval($type, $file, "deny");
|
||||
}
|
||||
}
|
||||
@ -189,7 +189,9 @@ if ($type=="E") {
|
||||
echo"</TD></TR>\n";
|
||||
|
||||
echo"<TR><TD COLSPAN=4 style=\"font-size: 8pt\">\n";
|
||||
echo"Approve? <input name=\"approval_$i\" type=\"radio\" value=\"YES\"> Deny? <input name=\"approval_$i\" type=\"radio\" value=\"NO\"> No Action? <input name=\"approval_$i\" type=\"radio\" checked=\"checked\" VALUE=\"noaction\">\n";
|
||||
echo"<input name=\"approval_$i\" type=\"radio\" value=\"YES\">Approve ";
|
||||
echo"<input name=\"approval_$i\" type=\"radio\" value=\"NO\">Deny ";
|
||||
echo"<input name=\"approval_$i\" type=\"radio\" checked=\"checked\" VALUE=\"noaction\">No Action?\n";
|
||||
echo"</TD></TR>\n";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user