Dependencies: add usage overview and table
This commit is contained in:
parent
c3b23a836a
commit
727cc22bc4
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Director\Web\Table;
|
||||
|
||||
class DependencyTemplateUsageTable extends TemplateUsageTable
|
||||
{
|
||||
public function getTypes()
|
||||
{
|
||||
return [
|
||||
'templates' => $this->translate('Templates'),
|
||||
'applyrules' => $this->translate('Apply Rules'),
|
||||
];
|
||||
}
|
||||
|
||||
protected function getTypeSummaryDefinitions()
|
||||
{
|
||||
return [
|
||||
'templates' => $this->getSummaryLine('template'),
|
||||
'applyrules' => $this->getSummaryLine('apply'),
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue