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:
psychoticwolf%carolina.rr.com 2004-11-21 09:13:11 +00:00
parent e6306b66ea
commit 9a0a6ab033

View File

@ -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&nbsp;&nbsp;";
echo"<input name=\"approval_$i\" type=\"radio\" value=\"NO\">Deny&nbsp;&nbsp;";
echo"<input name=\"approval_$i\" type=\"radio\" checked=\"checked\" VALUE=\"noaction\">No Action?\n";
echo"</TD></TR>\n";
}