remote config gui: add comment field

This commit is contained in:
Dietmar Maurer 2020-05-29 06:46:56 +02:00
parent 090decbe76
commit c6887a8a4d
2 changed files with 13 additions and 1 deletions

View File

@ -113,7 +113,7 @@ Ext.define('PBS.config.RemoteView', {
},
{
header: gettext('User name'),
width: 100,
width: 200,
sortable: true,
renderer: Ext.String.htmlEncode,
dataIndex: 'userid',
@ -123,6 +123,13 @@ Ext.define('PBS.config.RemoteView', {
sortable: false,
renderer: Ext.String.htmlEncode,
dataIndex: 'fingerprint',
width: 200,
},
{
header: gettext('Comment'),
sortable: false,
renderer: Ext.String.htmlEncode,
dataIndex: 'comment',
flex: 1,
},
],

View File

@ -73,6 +73,11 @@ Ext.define('PBS.window.RemoteEdit', {
name: 'fingerprint',
fieldLabel: gettext('Fingerprint'),
},
{
xtype: 'proxmoxtextfield',
name: 'comment',
fieldLabel: gettext('Comment'),
},
],
},