chg: [ui:meta_templates] Slightly improved UI
parent
a0f6c6a7e0
commit
452873e3ba
|
@ -9,7 +9,7 @@ use \Cake\Database\Expression\QueryExpression;
|
|||
|
||||
class MetaTemplatesController extends AppController
|
||||
{
|
||||
public $quickFilterFields = ['name', 'uuid', 'scope'];
|
||||
public $quickFilterFields = [['name' => true], 'uuid', ['scope' => true]];
|
||||
public $filterFields = ['name', 'uuid', 'scope', 'namespace'];
|
||||
public $containFields = ['MetaTemplateFields'];
|
||||
|
||||
|
@ -43,12 +43,8 @@ class MetaTemplatesController extends AppController
|
|||
'fields' => ['scope'],
|
||||
'custom' => [
|
||||
[
|
||||
'label' => __('Contact DB'),
|
||||
'filterCondition' => ['scope' => ['individual', 'organisation']]
|
||||
],
|
||||
[
|
||||
'label' => __('Namespace CNW'),
|
||||
'filterCondition' => ['namespace' => 'cnw']
|
||||
'label' => __('Default Templates'),
|
||||
'filterCondition' => ['is_default' => true]
|
||||
],
|
||||
]
|
||||
],
|
||||
|
|
|
@ -43,7 +43,8 @@ echo $this->element(
|
|||
[
|
||||
'url' => '/MetaTemplateFields/index?meta_template_id={{0}}',
|
||||
'url_params' => ['id'],
|
||||
'title' => __('Fields')
|
||||
'title' => __('Fields'),
|
||||
'collapsed' => 'show',
|
||||
]
|
||||
]
|
||||
]
|
||||
|
|
|
@ -468,7 +468,7 @@ ul.sidebar-elements > li.category > span.category-divider > hr {
|
|||
}
|
||||
|
||||
.center-navbar nav.header-breadcrumb li.header-breadcrumb-item {
|
||||
max-width: 200px;
|
||||
max-width: 25vw;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
|
Loading…
Reference in New Issue