Programmatic table support. Enhances several tables with highlightable and clickable rows and
cleans up the existing table row highlight and click code.
This commit is contained in:
@@ -630,15 +630,16 @@ class maintainer
|
||||
$oApp = new Application($this->iAppId);
|
||||
$oVersion = new Version($this->iVersionId);
|
||||
|
||||
$aCells = array(
|
||||
print_date(mysqldatetime_to_unixtimestamp($this->aSubmitTime)),
|
||||
$oApp->objectMakeLink(),
|
||||
($this->bSuperMaintainer) ? "N/A" : $oVersion->objectMakeLink(),
|
||||
($this->bSuperMaintainer) ? "Yes" : "No",
|
||||
$oUser->objectMakeLink());
|
||||
$oTableRow = new TableRow();
|
||||
|
||||
$oTableRow = new TableRow($aCells);
|
||||
return $oTableRow;
|
||||
$oTableRow->AddTextCell(print_date(mysqldatetime_to_unixtimestamp($this->aSubmitTime)));
|
||||
$oTableRow->AddTextCell($oApp->objectMakeLink());
|
||||
$oTableRow->AddTextCell(($this->bSuperMaintainer) ? "N/A" : $oVersion->objectMakeLink());
|
||||
$oTableRow->AddTextCell(($this->bSuperMaintainer) ? "Yes" : "No");
|
||||
$oTableRow->AddTextCell($oUser->objectMakeLink());
|
||||
|
||||
$oOMTableRow = new OMTableRow($oTableRow);
|
||||
return $oOMTableRow;
|
||||
}
|
||||
|
||||
function ObjectDisplayQueueProcessingHelp()
|
||||
|
||||
Reference in New Issue
Block a user