// Products section list adjustment
This commit is contained in:
@@ -42,7 +42,8 @@ class AdminAttachmentsControllerCore extends AdminController
|
||||
$this->fields_list = array(
|
||||
'id_attachment' => array(
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center'
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'name' => array(
|
||||
'title' => $this->l('Name')
|
||||
|
||||
@@ -55,6 +55,7 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
'count_values' => array(
|
||||
'title' => $this->l('Values count'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs',
|
||||
'orderby' => false,
|
||||
'search' => false
|
||||
),
|
||||
@@ -62,7 +63,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
'title' => $this->l('Position'),
|
||||
'filter_key' => 'a!position',
|
||||
'position' => 'position',
|
||||
'align' => 'center'
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@@ -60,7 +60,8 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
$this->fields_list = array(
|
||||
'id_category' => array(
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center'
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'name' => array(
|
||||
'title' => $this->l('Name')
|
||||
@@ -80,6 +81,8 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'title' => $this->l('Displayed'),
|
||||
'active' => 'status',
|
||||
'type' => 'bool',
|
||||
'class' => 'fixed-width-xs',
|
||||
'align' => 'center',
|
||||
'orderby' => false
|
||||
)
|
||||
);
|
||||
|
||||
@@ -49,12 +49,15 @@ class AdminFeaturesControllerCore extends AdminController
|
||||
'value' => array(
|
||||
'title' => $this->l('Values'),
|
||||
'orderby' => false,
|
||||
'search' => false
|
||||
'search' => false,
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'position' => array(
|
||||
'title' => $this->l('Position'),
|
||||
'filter_key' => 'a!position',
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs',
|
||||
'position' => 'position'
|
||||
)
|
||||
);
|
||||
|
||||
@@ -56,6 +56,8 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
$this->fields_list = array(
|
||||
'id_manufacturer' => array(
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'logo' => array(
|
||||
'title' => $this->l('Logo'),
|
||||
@@ -70,12 +72,12 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
),
|
||||
'addresses' => array(
|
||||
'title' => $this->l('Addresses'),
|
||||
'align' => 'center',
|
||||
'havingFilter' => true
|
||||
'search' => false,
|
||||
'align' => 'center'
|
||||
),
|
||||
'products' => array(
|
||||
'title' => $this->l('Products:'),
|
||||
'havingFilter' => true,
|
||||
'search' => false,
|
||||
'align' => 'center',
|
||||
),
|
||||
'active' => array(
|
||||
@@ -83,6 +85,7 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'active' => 'status',
|
||||
'type' => 'bool',
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs',
|
||||
'orderby' => false
|
||||
)
|
||||
);
|
||||
@@ -144,7 +147,9 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
|
||||
return array(
|
||||
'id_address' => array(
|
||||
'title' => $this->l('ID')
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'manufacturer_name' => array(
|
||||
'title' => $this->l('Manufacturer'),
|
||||
|
||||
@@ -195,6 +195,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$this->fields_list['id_product'] = array(
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs',
|
||||
'type' => 'int'
|
||||
);
|
||||
$this->fields_list['image'] = array(
|
||||
@@ -254,6 +255,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
'filter_key' => $alias.'!active',
|
||||
'align' => 'center',
|
||||
'type' => 'bool',
|
||||
'class' => 'fixed-width-sm',
|
||||
'orderby' => false
|
||||
);
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ class AdminScenesControllerCore extends AdminController
|
||||
'id_scene' => array(
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'name' => array(
|
||||
'title' => $this->l('Image Maps'),
|
||||
@@ -54,6 +55,7 @@ class AdminScenesControllerCore extends AdminController
|
||||
'active' => array(
|
||||
'title' => $this->l('Activated'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs',
|
||||
'active' => 'status',
|
||||
'type' => 'bool',
|
||||
'orderby' => false
|
||||
|
||||
@@ -53,11 +53,11 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
$this->fieldImageSettings = array('name' => 'logo', 'dir' => 'su');
|
||||
|
||||
$this->fields_list = array(
|
||||
'id_supplier' => array('title' => $this->l('ID'), 'align' => 'center'),
|
||||
'id_supplier' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'),
|
||||
'logo' => array('title' => $this->l('Logo'), 'align' => 'center', 'image' => 'su', 'orderby' => false, 'search' => false),
|
||||
'name' => array('title' => $this->l('Name')),
|
||||
'products' => array('title' => $this->l('Number of products'), 'align' => 'right', 'filter_type' => 'int', 'tmpTableFilter' => true),
|
||||
'active' => array('title' => $this->l('Enabled'), 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false)
|
||||
'active' => array('title' => $this->l('Enabled'), 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false, 'class' => 'fixed-width-xs')
|
||||
);
|
||||
|
||||
parent::__construct();
|
||||
|
||||
@@ -37,6 +37,7 @@ class AdminTagsControllerCore extends AdminController
|
||||
'id_tag' => array(
|
||||
'title' => $this->l('ID'),
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs'
|
||||
),
|
||||
'lang' => array(
|
||||
'title' => $this->l('Language'),
|
||||
@@ -48,7 +49,8 @@ class AdminTagsControllerCore extends AdminController
|
||||
),
|
||||
'products' => array(
|
||||
'title' => $this->l('Products:'),
|
||||
'align' => 'right',
|
||||
'align' => 'center',
|
||||
'class' => 'fixed-width-xs',
|
||||
'havingFilter' => true
|
||||
)
|
||||
);
|
||||
|
||||
@@ -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')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user