[pve-devel] [PATCH manager] grid/replication: show textual description of default value

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 28 09:19:49 CEST 2017


When a user sees this the first time and wants to add a job he
shouldn't be confused what the default value means, so display this
through the emptyText property, which does not get submitted to the
backend.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/grid/Replication.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/grid/Replication.js b/www/manager6/grid/Replication.js
index 6381c63a..6bd9aa03 100644
--- a/www/manager6/grid/Replication.js
+++ b/www/manager6/grid/Replication.js
@@ -35,7 +35,7 @@ Ext.define('PVE.window.ReplicaEdit', {
 	    {
 		xtype: 'pveCalendarEvent',
 		fieldLabel: gettext('Schedule'),
-		emptyText: '*/15',
+		emptyText: '*/15 - ' + gettext('Every 15 minutes'),
 		name: 'schedule'
 	    },
 	    {
-- 
2.11.0





More information about the pve-devel mailing list