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