From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 0E5B91FF185 for ; Mon, 23 Jun 2025 16:13:41 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id F180A14429; Mon, 23 Jun 2025 16:14:13 +0200 (CEST) From: Lukas Wagner To: pbs-devel@lists.proxmox.com Date: Mon, 23 Jun 2025 16:13:12 +0200 Message-Id: <20250623141315.288681-8-l.wagner@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250623141315.288681-1-l.wagner@proxmox.com> References: <20250623141315.288681-1-l.wagner@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.020 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [PATCH proxmox-backup 6/9] ui: one-shot tape backup: use same wording as tape-backup jobs X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" 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 --- 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 _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel