ImportsourceController: fix add icon

This commit is contained in:
Thomas Gelf 2016-06-13 20:21:33 +02:00
parent 12764c8482
commit c4f687d20a
1 changed files with 6 additions and 7 deletions

View File

@ -66,13 +66,12 @@ class ImportsourceController extends ActionController
$id = $this->params->get('source_id'); $id = $this->params->get('source_id');
$this->prepareTabs($id)->activate('modifier'); $this->prepareTabs($id)->activate('modifier');
$this->view->addLink = $this->view->icon('plus') $this->view->addLink = $this->view->qlink(
. ' ' $this->translate('Add property modifier'),
. $this->view->qlink( 'director/importsource/addmodifier',
$this->translate('Add property modifier'), array('source_id' => $id),
'director/importsource/addmodifier', array('class' => 'icon-plus')
array('source_id' => $id) );
);
$this->view->title = $this->translate('Property modifiers'); $this->view->title = $this->translate('Property modifiers');
$this->view->table = $this->loadTable('propertymodifier') $this->view->table = $this->loadTable('propertymodifier')