[pbs-devel] [PATCH proxmox-backup 6/9] ui: one-shot tape backup: use same wording as tape-backup jobs
Lukas Wagner
l.wagner at proxmox.com
Mon Jun 23 16:13:12 CEST 2025
Change the dialog of one-shot tape-backups in such a way that they use
the same jargon as scheduled tape backup jobs.
The width of the dialog is increased by 150px to 750px so that the
slightly larger amount of text fits nicely.
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
www/tape/window/TapeBackup.js | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/www/tape/window/TapeBackup.js b/www/tape/window/TapeBackup.js
index b075c8c4..7e7fa8f3 100644
--- a/www/tape/window/TapeBackup.js
+++ b/www/tape/window/TapeBackup.js
@@ -8,6 +8,8 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
showTaskViewer: true,
isCreate: true,
+ width: 750,
+
viewModel: {
data: {
notificationMode: 'notification-system',
@@ -95,10 +97,10 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
xtype: 'proxmoxKVComboBox',
labelWidth: 150,
comboItems: [
- ['legacy-sendmail', gettext('Email (legacy)')],
- ['notification-system', gettext('Notification system')],
+ ['notification-system', gettext('Use global settings')],
+ ['legacy-sendmail', gettext('Use sendmail (legacy)')],
],
- fieldLabel: gettext('Notification mode'),
+ fieldLabel: gettext('Notification'),
name: 'notification-mode',
bind: {
value: '{notificationMode}',
@@ -114,7 +116,7 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
allowBlank: true,
skipEmptyText: true,
bind: {
- disabled: '{notificationSystemSelected}',
+ hidden: '{notificationSystemSelected}',
},
renderer: Ext.String.htmlEncode,
},
--
2.39.5
More information about the pbs-devel
mailing list