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->form->handleRequest();
|
||||
|
||||
$this->view->actionLinks = $this->view->icon('paste')
|
||||
. ' '
|
||||
. $this->view->qlink(
|
||||
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
|
||||
'director/' . $ltype .'/clone',
|
||||
array('name' => $object->object_name)
|
||||
);
|
||||
$this->view->actionLinks = $this->view->qlink(
|
||||
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
|
||||
'director/' . $ltype .'/clone',
|
||||
array('name' => $object->object_name),
|
||||
array('class' => 'icon-paste')
|
||||
);
|
||||
|
||||
$this->render('object/form', null, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue