ui: sync job: group remote fields and use "Source" in labels
Using "Source" helps to understand that this is a "pull from remote" sync, not a "push to remote" one. https://forum.proxmox.com/threads/suggestions-regarding-configurations-terminology.73272/ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
113c9b5981
commit
ef496e2c20
|
@ -28,7 +28,7 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||||
xtype: 'inputpanel',
|
xtype: 'inputpanel',
|
||||||
column1: [
|
column1: [
|
||||||
{
|
{
|
||||||
fieldLabel: gettext('Sync Job'),
|
fieldLabel: gettext('Sync Job ID'),
|
||||||
xtype: 'pmxDisplayEditField',
|
xtype: 'pmxDisplayEditField',
|
||||||
name: 'id',
|
name: 'id',
|
||||||
renderer: Ext.htmlEncode,
|
renderer: Ext.htmlEncode,
|
||||||
|
@ -39,23 +39,23 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldLabel: gettext('Remote'),
|
fieldLabel: gettext('Source Remote'),
|
||||||
xtype: 'pbsRemoteSelector',
|
xtype: 'pbsRemoteSelector',
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
name: 'remote',
|
name: 'remote',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fieldLabel: gettext('Source Datastore'),
|
||||||
|
xtype: 'proxmoxtextfield',
|
||||||
|
allowBlank: false,
|
||||||
|
name: 'remote-store',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fieldLabel: gettext('Local Datastore'),
|
fieldLabel: gettext('Local Datastore'),
|
||||||
xtype: 'pbsDataStoreSelector',
|
xtype: 'pbsDataStoreSelector',
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
name: 'store',
|
name: 'store',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
fieldLabel: gettext('Remote Datastore'),
|
|
||||||
xtype: 'proxmoxtextfield',
|
|
||||||
allowBlank: false,
|
|
||||||
name: 'remote-store',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
|
|
||||||
column2: [
|
column2: [
|
||||||
|
@ -70,6 +70,7 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||||
fieldLabel: gettext('Schedule'),
|
fieldLabel: gettext('Schedule'),
|
||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
name: 'schedule',
|
name: 'schedule',
|
||||||
|
emptyText: gettext('none'),
|
||||||
cbind: {
|
cbind: {
|
||||||
deleteEmpty: '{!isCreate}',
|
deleteEmpty: '{!isCreate}',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue