Fix a case where the admins would see the wrong help text when submitting new testData. Add
borders around the distribution form to match the rest of the editor
This commit is contained in:
committed by
WineHQ
parent
42ecaf6eef
commit
6bf507d6aa
@@ -66,7 +66,8 @@ class testData_queue
|
|||||||
|
|
||||||
/* If we are processing queued test results with a queued distribution,
|
/* If we are processing queued test results with a queued distribution,
|
||||||
we display some additional help here */
|
we display some additional help here */
|
||||||
if($this->oDistribution->sQueued != "false" && $this->canEdit())
|
if($this->oDistribution->iDistributionId &&
|
||||||
|
$this->oDistribution->sQueued != "false" && $this->canEdit())
|
||||||
{
|
{
|
||||||
echo "The user submitted a new distribution, which will be un-queued ".
|
echo "The user submitted a new distribution, which will be un-queued ".
|
||||||
"together with the test data unless you select an existing one ".
|
"together with the test data unless you select an existing one ".
|
||||||
@@ -78,7 +79,11 @@ class testData_queue
|
|||||||
distribution form here */
|
distribution form here */
|
||||||
if(!$this->oTestData->iDistributionId or
|
if(!$this->oTestData->iDistributionId or
|
||||||
$this->oDistribution->sQueued != "false")
|
$this->oDistribution->sQueued != "false")
|
||||||
|
{
|
||||||
|
echo html_frame_start("New Distribution", "90%");
|
||||||
$this->oDistribution->outputEditor();
|
$this->oDistribution->outputEditor();
|
||||||
|
echo html_frame_end();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getOutputEditorValues($aClean)
|
function getOutputEditorValues($aClean)
|
||||||
|
|||||||
Reference in New Issue
Block a user