distribution: Change column order and names

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-06-15 21:12:22 +02:00
committed by Chris Morgan
parent c293db6d51
commit 7619dc2122

View File

@@ -541,12 +541,11 @@ class distribution {
$oTableRow->AddSortableTextCell("Distribution name", "name"); $oTableRow->AddSortableTextCell("Distribution name", "name");
$oTableRow->AddTextCell("Distribution url"); $oTableCell = new TableCell("Test reports");
$oTableCell = new TableCell("Linked Tests");
$oTableCell->SetAlign("right");
$oTableRow->AddCell($oTableCell); $oTableRow->AddCell($oTableCell);
$oTableRow->AddTextCell("Distribution url");
return $oTableRow; return $oTableRow;
} }
@@ -590,13 +589,13 @@ class distribution {
$oTableRow->AddTextCell($this->objectMakeLink()); $oTableRow->AddTextCell($this->objectMakeLink());
$oTableCell = new TableCell(sizeof($this->aTestingIds));
$oTableRow->AddCell($oTableCell);
$oTableCell = new TableCell("$this->sUrl"); $oTableCell = new TableCell("$this->sUrl");
$oTableCell->SetCellLink($this->sUrl); $oTableCell->SetCellLink($this->sUrl);
$oTableRow->AddCell($oTableCell); $oTableRow->AddCell($oTableCell);
$oTableCell = new TableCell(sizeof($this->aTestingIds));
$oTableCell->SetAlign("right");
$oTableRow->AddCell($oTableCell);
// enable the 'delete' action if this distribution has no testing results // enable the 'delete' action if this distribution has no testing results
$bDeleteLink = sizeof($this->aTestingIds) ? FALSE : TRUE; $bDeleteLink = sizeof($this->aTestingIds) ? FALSE : TRUE;