diff --git a/admin-dev/themes/default/template/helpers/list/list_content.tpl b/admin-dev/themes/default/template/helpers/list/list_content.tpl index ee51e0bc4..0c25c1f19 100644 --- a/admin-dev/themes/default/template/helpers/list/list_content.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_content.tpl @@ -30,17 +30,17 @@ class="{if isset($tr.class)} {$tr.class}{/if}" {if isset($tr.color) && $color_on_bg}style="background-color: {$tr.color}"{/if} > - {if $has_bulk_actions} - {if isset($list_skip_actions.delete)} - {if !in_array($tr.$identifier, $list_skip_actions.delete)} + {if {$has_bulk_actions}} + {if isset($list_skip_actions.delete)} + {if !in_array($tr.$identifier, $list_skip_actions.delete)} + + {/if} + {else} {/if} - {else} - {/if} - {/if} {foreach $fields_display AS $key => $params} {block name="open_td"} - {if $has_bulk_actions} - {/if} {foreach $fields_display AS $key => $params} @@ -310,11 +308,12 @@ {if !$simple_header && $show_filters} - {if $has_bulk_actions} - -- + {if $has_bulk_actions} + -- + {/if} - {/if} + {* Filters (input, select, date or bool) *} {foreach $fields_display AS $key => $params} diff --git a/controllers/admin/AdminMetaController.php b/controllers/admin/AdminMetaController.php index 332cbe28f..564ceb072 100644 --- a/controllers/admin/AdminMetaController.php +++ b/controllers/admin/AdminMetaController.php @@ -47,10 +47,10 @@ class AdminMetaControllerCore extends AdminController $this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'))); $this->fields_list = array( - 'id_meta' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), - 'page' => array('title' => $this->l('Page'), 'width' => 120), - 'title' => array('title' => $this->l('Title'), 'width' => 120), - 'url_rewrite' => array('title' => $this->l('Friendly URL'), 'width' => 120) + 'id_meta' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'), + 'page' => array('title' => $this->l('Page')), + 'title' => array('title' => $this->l('Title')), + 'url_rewrite' => array('title' => $this->l('Friendly URL')) ); $this->_group = 'GROUP BY a.id_meta';