Alexander Nicolaysen Sørnes : distribution: Change column order and names
Module: appdb Branch: master Commit: 7619dc2122e642d2154248f73f302fb0196e43b6 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=7619dc2122e642d2154248f73... Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Date: Sun Jun 15 21:12:22 2008 +0200 distribution: Change column order and names --- include/distribution.php | 13 ++++++------- 1 files 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;
participants (1)
-
Chris Morgan