[pbs-devel] [PATCH proxmox-backup] ui: utils: fix defaultMailAuthor

Lukas Wagner l.wagner at proxmox.com
Thu Apr 25 09:37:07 CEST 2024


The default mail author for SMTP and Sendmail target is
"Proxmox Backup Server - <hostname>" and not
"Proxmox Backup Server (<hostname>)".

This is just a cosmetical change which affects the empty text for the
'Author' field in the sendmail/smtp edit window.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 www/Utils.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/Utils.js b/www/Utils.js
index 40e7cbff..1d7351a3 100644
--- a/www/Utils.js
+++ b/www/Utils.js
@@ -469,13 +469,13 @@ Ext.define('PBS.Utils', {
 		name: 'Sendmail',
 		    ipanel: 'pmxSendmailEditPanel',
 		    iconCls: 'fa-envelope-o',
-		    defaultMailAuthor: 'Proxmox Backup Server ($hostname)',
+		    defaultMailAuthor: 'Proxmox Backup Server - $hostname',
 	    },
 	    smtp: {
 		name: 'SMTP',
 		    ipanel: 'pmxSmtpEditPanel',
 		    iconCls: 'fa-envelope-o',
-		    defaultMailAuthor: 'Proxmox Backup Server ($hostname)',
+		    defaultMailAuthor: 'Proxmox Backup Server - $hostname',
 	    },
 	    gotify: {
 		name: 'Gotify',
-- 
2.39.2





More information about the pbs-devel mailing list