ObjectController: fix clone link html/css

This commit is contained in:
Thomas Gelf 2016-03-03 09:45:33 +01:00
parent 9ae4553546
commit 2fa9e7e998
1 changed files with 6 additions and 7 deletions

View File

@ -131,12 +131,11 @@ 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(
$this->view->actionLinks = $this->view->qlink(
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
'director/' . $ltype .'/clone',
array('name' => $object->object_name)
array('name' => $object->object_name),
array('class' => 'icon-paste')
);
$this->render('object/form', null, true);