From 7619dc2122e642d2154248f73f302fb0196e43b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 15 Jun 2008 21:12:22 +0200 Subject: [PATCH] distribution: Change column order and names --- include/distribution.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/distribution.php b/include/distribution.php index d25b012..1833177 100644 --- a/include/distribution.php +++ b/include/distribution.php @@ -541,12 +541,11 @@ class distribution { $oTableRow->AddSortableTextCell("Distribution name", "name"); - $oTableRow->AddTextCell("Distribution url"); - - $oTableCell = new TableCell("Linked Tests"); - $oTableCell->SetAlign("right"); + $oTableCell = new TableCell("Test reports"); $oTableRow->AddCell($oTableCell); + $oTableRow->AddTextCell("Distribution url"); + return $oTableRow; } @@ -590,13 +589,13 @@ class distribution { $oTableRow->AddTextCell($this->objectMakeLink()); + $oTableCell = new TableCell(sizeof($this->aTestingIds)); + $oTableRow->AddCell($oTableCell); + $oTableCell = new TableCell("$this->sUrl"); $oTableCell->SetCellLink($this->sUrl); $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 $bDeleteLink = sizeof($this->aTestingIds) ? FALSE : TRUE;