ObjectController: fix clone link html/css
This commit is contained in:
parent
9ae4553546
commit
2fa9e7e998
|
@ -131,13 +131,12 @@ abstract class ObjectController extends ActionController
|
||||||
$this->view->title = sprintf($this->translate('Modify %s'), ucfirst($ltype));
|
$this->view->title = sprintf($this->translate('Modify %s'), ucfirst($ltype));
|
||||||
$this->view->form->handleRequest();
|
$this->view->form->handleRequest();
|
||||||
|
|
||||||
$this->view->actionLinks = $this->view->icon('paste')
|
$this->view->actionLinks = $this->view->qlink(
|
||||||
. ' '
|
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
|
||||||
. $this->view->qlink(
|
'director/' . $ltype .'/clone',
|
||||||
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
|
array('name' => $object->object_name),
|
||||||
'director/' . $ltype .'/clone',
|
array('class' => 'icon-paste')
|
||||||
array('name' => $object->object_name)
|
);
|
||||||
);
|
|
||||||
|
|
||||||
$this->render('object/form', null, true);
|
$this->render('object/form', null, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue