ui: group filter: add hint that filter are additive

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-12-16 11:19:49 +01:00
parent 25e41aa802
commit 0b50c18ed0
1 changed files with 22 additions and 4 deletions

View File

@ -332,10 +332,28 @@ Ext.define('PBS.form.GroupFilter', {
},
},
{
xtype: 'button',
text: gettext('Add'),
iconCls: 'fa fa-plus-circle',
handler: 'addFilter',
xtype: 'container',
layout: {
type: 'hbox',
},
items: [
{
xtype: 'button',
text: gettext('Add'),
iconCls: 'fa fa-plus-circle',
handler: 'addFilter',
},
{
xtype: 'box',
flex: 1,
},
{
xtype: 'box',
style: 'margin: 3px 0px;',
html: `<span class="pmx-hint">${gettext('Note')}</span>: `
+ gettext('Filters are additive (OR-like)'),
},
],
},
],