ServiceController: prefix "add service" with host
This commit is contained in:
parent
e753a741d9
commit
ca6a9677bc
|
@ -52,6 +52,14 @@ class ServiceController extends ObjectController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function addAction()
|
||||||
|
{
|
||||||
|
parent::addAction();
|
||||||
|
if ($this->host) {
|
||||||
|
$this->view->title = $this->host->object_name . ': ' . $this->view->title;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function assignAction()
|
public function assignAction()
|
||||||
{
|
{
|
||||||
$this->getTabs()->activate('assign');
|
$this->getTabs()->activate('assign');
|
||||||
|
|
|
@ -186,7 +186,7 @@ abstract class ObjectController extends ActionController
|
||||||
);
|
);
|
||||||
|
|
||||||
$form->handleRequest();
|
$form->handleRequest();
|
||||||
$this->render('object/form', null, true);
|
$this->setViewScript('object/form');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function cloneAction()
|
public function cloneAction()
|
||||||
|
|
Loading…
Reference in New Issue