]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
grid/replication: show textual description of default value
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Jun 2017 07:19:49 +0000 (09:19 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Jun 2017 07:57:38 +0000 (09:57 +0200)
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@proxmox.com>
www/manager6/grid/Replication.js

index 6381c63a8ab56000bf7ee393b1f9cb3a5af3c50c..6bd9aa031249a2d6b74a6b109613636dd28cc150 100644 (file)
@@ -35,7 +35,7 @@ Ext.define('PVE.window.ReplicaEdit', {
            {
                xtype: 'pveCalendarEvent',
                fieldLabel: gettext('Schedule'),
-               emptyText: '*/15',
+               emptyText: '*/15 - ' + gettext('Every 15 minutes'),
                name: 'schedule'
            },
            {