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

@ -331,12 +331,30 @@ Ext.define('PBS.form.GroupFilter', {
name: '{name}', name: '{name}',
}, },
}, },
{
xtype: 'container',
layout: {
type: 'hbox',
},
items: [
{ {
xtype: 'button', xtype: 'button',
text: gettext('Add'), text: gettext('Add'),
iconCls: 'fa fa-plus-circle', iconCls: 'fa fa-plus-circle',
handler: 'addFilter', 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)'),
},
],
},
], ],
initComponent: function() { initComponent: function() {