// Products section list adjustment

This commit is contained in:
Jerome Nadaud
2013-09-20 16:19:50 +02:00
parent caa1dbc7ea
commit f44ecb9fc8
10 changed files with 38 additions and 18 deletions
@@ -100,10 +100,10 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowActionSkipList('edit', array(Category::getTopCategory()->id));
$this->fields_list = (array(
'id_category' => array('title' => $this->l('ID')),
'id_category' => array('title' => $this->l('ID'), 'class' => 'fixed-width-xs', 'align' => 'center'),
'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name'),
'description' => array('title' => $this->l('Description')),
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status')
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status', 'align' => 'center', 'class' => 'fixed-width-xs')
));
$this->clearFilters();
@@ -137,10 +137,10 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('delete');
$this->fields_list = array(
'id_product' => array('title' => $this->l('ID')),
'id_product' => array('title' => $this->l('ID'), 'class' => 'fixed-width-xs', 'align' => 'center'),
'reference' => array('title' => $this->l('Reference')),
'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name'),
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status')
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status', 'align' => 'center', 'class' => 'fixed-width-xs')
);
$this->clearFilters();
@@ -180,10 +180,10 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('delete');
$this->fields_list = array(
'id_product' => array('title' => $this->l('ID')),
'id_product' => array('title' => $this->l('ID'), 'class' => 'fixed-width-xs', 'align' => 'center'),
'reference' => array('title' => $this->l('Reference')),
'name' => array('title' => $this->l('Name')),
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status')
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status', 'align' => 'center', 'class' => 'fixed-width-xs')
);
$this->clearFilters();
@@ -221,7 +221,7 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('delete');
$this->fields_list = array(
'id_product' => array('title' => $this->l('ID')),
'id_product' => array('title' => $this->l('ID'), 'class' => 'fixed-width-xs', 'align' => 'center'),
'reference' => array('title' => $this->l('Reference')),
'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name')
);