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');
$this->prepareTabs($id)->activate('modifier');
$this->view->addLink = $this->view->icon('plus')
. ' '
. $this->view->qlink(
$this->translate('Add property modifier'),
'director/importsource/addmodifier',
array('source_id' => $id)
);
$this->view->addLink = $this->view->qlink(
$this->translate('Add property modifier'),
'director/importsource/addmodifier',
array('source_id' => $id),
array('class' => 'icon-plus')
);
$this->view->title = $this->translate('Property modifiers');
$this->view->table = $this->loadTable('propertymodifier')