mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 02:47:39 +02:00
QuickTable: more access, give varname more sense
This commit is contained in:
parent
8d05e02738
commit
e1acf37ac4
@ -39,7 +39,7 @@ abstract class QuickTable implements Paginatable
|
||||
return array();
|
||||
}
|
||||
|
||||
private function getRowClassesString($row)
|
||||
protected function getRowClassesString($row)
|
||||
{
|
||||
return $this->createClassAttribute($this->getRowClasses($row));
|
||||
}
|
||||
@ -70,7 +70,7 @@ abstract class QuickTable implements Paginatable
|
||||
protected function renderRow($row)
|
||||
{
|
||||
$htm = " <tr" . $this->getRowClassesString($row) . ">\n";
|
||||
$firstRow = true;
|
||||
$firstCol = true;
|
||||
|
||||
foreach ($this->getTitles() as $key => $title) {
|
||||
|
||||
@ -83,11 +83,11 @@ abstract class QuickTable implements Paginatable
|
||||
|
||||
$value = null;
|
||||
|
||||
if ($firstRow) {
|
||||
if ($firstCol) {
|
||||
if ($val !== null && $url = $this->getActionUrl($row)) {
|
||||
$value = $this->view()->qlink($val, $this->getActionUrl($row));
|
||||
}
|
||||
$firstRow = false;
|
||||
$firstCol = false;
|
||||
}
|
||||
|
||||
if ($value === null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user