diff -u b/core/modules/views_ui/css/views_ui.admin.theme.css b/core/modules/views_ui/css/views_ui.admin.theme.css --- b/core/modules/views_ui/css/views_ui.admin.theme.css +++ b/core/modules/views_ui/css/views_ui.admin.theme.css @@ -749,6 +749,7 @@ */ .views-filterable-options .form-type-checkbox { + border: 1px solid #ccc; padding: 5px 8px; border-top: none; } @@ -757,6 +758,10 @@ border-top: 1px solid #ccc; } +.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox { + background-color: #f3f4ee; +} + .filterable-option .form-item { margin-bottom: 0; margin-top: 0; @@ -819,7 +824,6 @@ */ .views-filterable-options .form-type-checkbox { - border: 1px solid #ccc; padding: 5px 8px; border-top: none; } @@ -828,10 +832,6 @@ border-top: 1px solid #ccc; } -.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox { - background-color: #f3f4ee; -} - .filterable-option .form-item { margin-bottom: 0; margin-top: 0; diff -u b/core/modules/views_ui/src/Form/Ajax/AddHandler.php b/core/modules/views_ui/src/Form/Ajax/AddHandler.php --- b/core/modules/views_ui/src/Form/Ajax/AddHandler.php +++ b/core/modules/views_ui/src/Form/Ajax/AddHandler.php @@ -109,13 +109,12 @@ '#suffix' => '', '#type' => 'table', '#header' => array( - t('Title'), - t('Description'), - t('Category'), + $this->t('Title'), + $this->t('Category'), + $this->t('Description'), ), '#tableselect' => TRUE, '#tree' => TRUE, - ); // Group options first to simplify the usage of #states. @@ -162,12 +161,12 @@ 'title' => array( '#markup' => $option['title'], ), - 'help' => array( - '#markup' => $option['help'], - ), 'group' => array( '#markup' => $option['group'], ), + 'help' => array( + '#markup' => $option['help'], + ), ); } }