// Products section list adjustment

This commit is contained in:
Jerome Nadaud committed 2013-09-20 16:19:50 +02:00
1 parent caa1dbc7ea
commit f44ecb9fc8
10 files changed
+38 -18

No files matched your search

@@ -42,7 +42,8 @@ class AdminAttachmentsControllerCore extends AdminController
$this->fields_list = array( $this->fields_list = array(
'id_attachment' => array( 'id_attachment' => array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center' 'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'name' => array( 'name' => array(
'title' => $this->l('Name') 'title' => $this->l('Name')
@@ -55,6 +55,7 @@ class AdminAttributesGroupsControllerCore extends AdminController
'count_values' => array( 'count_values' => array(
'title' => $this->l('Values count'), 'title' => $this->l('Values count'),
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs',
'orderby' => false, 'orderby' => false,
'search' => false 'search' => false
), ),
@@ -62,7 +63,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
'title' => $this->l('Position'), 'title' => $this->l('Position'),
'filter_key' => 'a!position', 'filter_key' => 'a!position',
'position' => 'position', 'position' => 'position',
'align' => 'center' 'align' => 'center',
'class' => 'fixed-width-xs'
), ),
); );
@@ -60,7 +60,8 @@ class AdminCategoriesControllerCore extends AdminController
$this->fields_list = array( $this->fields_list = array(
'id_category' => array( 'id_category' => array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center' 'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'name' => array( 'name' => array(
'title' => $this->l('Name') 'title' => $this->l('Name')
@@ -80,6 +81,8 @@ class AdminCategoriesControllerCore extends AdminController
'title' => $this->l('Displayed'), 'title' => $this->l('Displayed'),
'active' => 'status', 'active' => 'status',
'type' => 'bool', 'type' => 'bool',
'class' => 'fixed-width-xs',
'align' => 'center',
'orderby' => false 'orderby' => false
) )
); );
@@ -49,12 +49,15 @@ class AdminFeaturesControllerCore extends AdminController
'value' => array( 'value' => array(
'title' => $this->l('Values'), 'title' => $this->l('Values'),
'orderby' => false, 'orderby' => false,
'search' => false 'search' => false,
'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'position' => array( 'position' => array(
'title' => $this->l('Position'), 'title' => $this->l('Position'),
'filter_key' => 'a!position', 'filter_key' => 'a!position',
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs',
'position' => 'position' 'position' => 'position'
) )
); );
@@ -56,6 +56,8 @@ class AdminManufacturersControllerCore extends AdminController
$this->fields_list = array( $this->fields_list = array(
'id_manufacturer' => array( 'id_manufacturer' => array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'logo' => array( 'logo' => array(
'title' => $this->l('Logo'), 'title' => $this->l('Logo'),
@@ -70,12 +72,12 @@ class AdminManufacturersControllerCore extends AdminController
), ),
'addresses' => array( 'addresses' => array(
'title' => $this->l('Addresses'), 'title' => $this->l('Addresses'),
'align' => 'center', 'search' => false,
'havingFilter' => true 'align' => 'center'
), ),
'products' => array( 'products' => array(
'title' => $this->l('Products:'), 'title' => $this->l('Products:'),
'havingFilter' => true, 'search' => false,
'align' => 'center', 'align' => 'center',
), ),
'active' => array( 'active' => array(
@@ -83,6 +85,7 @@ class AdminManufacturersControllerCore extends AdminController
'active' => 'status', 'active' => 'status',
'type' => 'bool', 'type' => 'bool',
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs',
'orderby' => false 'orderby' => false
) )
); );
@@ -144,7 +147,9 @@ class AdminManufacturersControllerCore extends AdminController
return array( return array(
'id_address' => array( 'id_address' => array(
'title' => $this->l('ID') 'title' => $this->l('ID'),
'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'manufacturer_name' => array( 'manufacturer_name' => array(
'title' => $this->l('Manufacturer'), 'title' => $this->l('Manufacturer'),
@@ -195,6 +195,7 @@ class AdminProductsControllerCore extends AdminController
$this->fields_list['id_product'] = array( $this->fields_list['id_product'] = array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs',
'type' => 'int' 'type' => 'int'
); );
$this->fields_list['image'] = array( $this->fields_list['image'] = array(
@@ -254,6 +255,7 @@ class AdminProductsControllerCore extends AdminController
'filter_key' => $alias.'!active', 'filter_key' => $alias.'!active',
'align' => 'center', 'align' => 'center',
'type' => 'bool', 'type' => 'bool',
'class' => 'fixed-width-sm',
'orderby' => false 'orderby' => false
); );
@@ -46,6 +46,7 @@ class AdminScenesControllerCore extends AdminController
'id_scene' => array( 'id_scene' => array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'name' => array( 'name' => array(
'title' => $this->l('Image Maps'), 'title' => $this->l('Image Maps'),
@@ -54,6 +55,7 @@ class AdminScenesControllerCore extends AdminController
'active' => array( 'active' => array(
'title' => $this->l('Activated'), 'title' => $this->l('Activated'),
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs',
'active' => 'status', 'active' => 'status',
'type' => 'bool', 'type' => 'bool',
'orderby' => false 'orderby' => false
@@ -53,11 +53,11 @@ class AdminSuppliersControllerCore extends AdminController
$this->fieldImageSettings = array('name' => 'logo', 'dir' => 'su'); $this->fieldImageSettings = array('name' => 'logo', 'dir' => 'su');
$this->fields_list = array( $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), 'logo' => array('title' => $this->l('Logo'), 'align' => 'center', 'image' => 'su', 'orderby' => false, 'search' => false),
'name' => array('title' => $this->l('Name')), 'name' => array('title' => $this->l('Name')),
'products' => array('title' => $this->l('Number of products'), 'align' => 'right', 'filter_type' => 'int', 'tmpTableFilter' => true), '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(); parent::__construct();
+3 -1
View File
@@ -37,6 +37,7 @@ class AdminTagsControllerCore extends AdminController
'id_tag' => array( 'id_tag' => array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center', 'align' => 'center',
'class' => 'fixed-width-xs'
), ),
'lang' => array( 'lang' => array(
'title' => $this->l('Language'), 'title' => $this->l('Language'),
@@ -48,7 +49,8 @@ class AdminTagsControllerCore extends AdminController
), ),
'products' => array( 'products' => array(
'title' => $this->l('Products:'), 'title' => $this->l('Products:'),
'align' => 'right', 'align' => 'center',
'class' => 'fixed-width-xs',
'havingFilter' => true 'havingFilter' => true
) )
); );
@@ -100,10 +100,10 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowActionSkipList('edit', array(Category::getTopCategory()->id)); $this->addRowActionSkipList('edit', array(Category::getTopCategory()->id));
$this->fields_list = (array( $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'), 'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name'),
'description' => array('title' => $this->l('Description')), '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(); $this->clearFilters();
@@ -137,10 +137,10 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('delete'); $this->addRowAction('delete');
$this->fields_list = array( $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')), 'reference' => array('title' => $this->l('Reference')),
'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name'), '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(); $this->clearFilters();
@@ -180,10 +180,10 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('delete'); $this->addRowAction('delete');
$this->fields_list = array( $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')), 'reference' => array('title' => $this->l('Reference')),
'name' => array('title' => $this->l('Name')), '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(); $this->clearFilters();
@@ -221,7 +221,7 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('delete'); $this->addRowAction('delete');
$this->fields_list = array( $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')), 'reference' => array('title' => $this->l('Reference')),
'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name') 'name' => array('title' => $this->l('Name'), 'filter_key' => 'b!name')
); );