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:
Thomas Lamprecht 2020-07-21 18:46:55 +02:00
parent 113c9b5981
commit ef496e2c20
1 changed files with 9 additions and 8 deletions

View File

@ -28,7 +28,7 @@ Ext.define('PBS.window.SyncJobEdit', {
xtype: 'inputpanel',
column1: [
{
fieldLabel: gettext('Sync Job'),
fieldLabel: gettext('Sync Job ID'),
xtype: 'pmxDisplayEditField',
name: 'id',
renderer: Ext.htmlEncode,
@ -39,23 +39,23 @@ Ext.define('PBS.window.SyncJobEdit', {
},
},
{
fieldLabel: gettext('Remote'),
fieldLabel: gettext('Source Remote'),
xtype: 'pbsRemoteSelector',
allowBlank: false,
name: 'remote',
},
{
fieldLabel: gettext('Source Datastore'),
xtype: 'proxmoxtextfield',
allowBlank: false,
name: 'remote-store',
},
{
fieldLabel: gettext('Local Datastore'),
xtype: 'pbsDataStoreSelector',
allowBlank: false,
name: 'store',
},
{
fieldLabel: gettext('Remote Datastore'),
xtype: 'proxmoxtextfield',
allowBlank: false,
name: 'remote-store',
},
],
column2: [
@ -70,6 +70,7 @@ Ext.define('PBS.window.SyncJobEdit', {
fieldLabel: gettext('Schedule'),
xtype: 'proxmoxtextfield',
name: 'schedule',
emptyText: gettext('none'),
cbind: {
deleteEmpty: '{!isCreate}',
},