ui: backup job: avoid row wrapping due to overly long label

We can express that it's a notification in the combobox.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-10 19:25:55 +01:00
parent 3ce05d40af
commit 04da73f851
2 changed files with 3 additions and 3 deletions

View File

@ -205,7 +205,7 @@ Ext.define('PVE.dc.BackupEdit', {
},
{
xtype: 'pveEmailNotificationSelector',
fieldLabel: gettext('Email notification'),
fieldLabel: gettext('Email'),
name: 'mailnotification',
deleteEmpty: !me.isCreate,
value: me.isCreate ? 'always' : '',

View File

@ -2,7 +2,7 @@ Ext.define('PVE.form.EmailNotificationSelector', {
extend: 'Proxmox.form.KVComboBox',
alias: ['widget.pveEmailNotificationSelector'],
comboItems: [
['always', gettext('Always')],
['always', gettext('Notify always')],
['failure', gettext('On failure only')],
],
});