ObjectController: fix 'back' link style

This commit is contained in:
Thomas Gelf 2016-03-07 08:59:17 +01:00
parent 715c00e975
commit 4974d1a850

View File

@ -177,12 +177,11 @@ abstract class ObjectController extends ActionController
); );
$this->view->form->handleRequest(); $this->view->form->handleRequest();
$this->view->actionLinks = $this->view->icon('left-big') $this->view->actionLinks = $this->view->qlink(
. ' '
. $this->view->qlink(
sprintf($this->translate('back'), $this->translate(ucfirst($ltype))), sprintf($this->translate('back'), $this->translate(ucfirst($ltype))),
'director/' . $ltype, 'director/' . $ltype,
array('name' => $this->object->object_name) array('name' => $this->object->object_name),
array('class' => 'icon-left-big')
); );
$this->render('object/form', null, true); $this->render('object/form', null, true);