Sets: enable them

This commit is contained in:
Thomas Gelf 2016-11-04 09:23:39 +01:00 committed by Markus Frosch
parent 1455831a3c
commit 76ff4ebfd2
2 changed files with 1 additions and 3 deletions

View File

@ -65,7 +65,7 @@ class ServiceController extends ObjectController
'urlParams' => array('name' => $this->host->object_name),
'label' => $this->translate('Services'),
));
} elseif ($this->host) {
} elseif ($this->set) {
$this->getTabs()->add('services', array(
'url' => 'director/serviceset/services',
'urlParams' => array('name' => $this->set->object_name),

View File

@ -71,12 +71,10 @@ abstract class ObjectsController extends ActionController
}
if ($object->supportsSets() || $object->isGroup() /** Bullshit, need base object, wrong on users */) {
/** forced to master, disabled for now
$tabs->add('sets', array(
'url' => sprintf('director/%ss/sets', $type),
'label' => $this->translate('Sets')
));
*/
}
$tabs->add('tree', array(