ServiceController: add services tab for hosts

This commit is contained in:
Thomas Gelf 2016-03-18 13:41:45 +01:00
parent 944701c725
commit 77e0abe43f
1 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,14 @@ class ServiceController extends ObjectController
}
}
}
if ($this->host) {
$this->getTabs()->add('services', array(
'url' => 'director/host/services',
'urlParams' => array('name' => $this->host->object_name),
'label' => $this->translate('Services'),
));
}
}
public function assignAction()