mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-25 21:05:30 +00:00
window: ldap: add tooltips for firstname, lastname and email attributes
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
4aff870f6c
commit
da210b58a7
@ -314,16 +314,30 @@ Ext.define('Proxmox.panel.LDAPSyncInputPanel', {
|
|||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
name: 'firstname',
|
name: 'firstname',
|
||||||
fieldLabel: gettext('First Name attribute'),
|
fieldLabel: gettext('First Name attribute'),
|
||||||
|
autoEl: {
|
||||||
|
tag: 'div',
|
||||||
|
'data-qtip': Ext.String.format(gettext('Often called {0}'), '`givenName`'),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
name: 'lastname',
|
name: 'lastname',
|
||||||
fieldLabel: gettext('Last Name attribute'),
|
fieldLabel: gettext('Last Name attribute'),
|
||||||
|
autoEl: {
|
||||||
|
tag: 'div',
|
||||||
|
'data-qtip': Ext.String.format(gettext('Often called {0}'), '`sn`'),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
name: 'email',
|
name: 'email',
|
||||||
fieldLabel: gettext('E-Mail attribute'),
|
fieldLabel: gettext('E-Mail attribute'),
|
||||||
|
autoEl: {
|
||||||
|
tag: 'div',
|
||||||
|
'data-qtip': get => get('isAd')
|
||||||
|
? Ext.String.format(gettext('Often called {0} or {1}'), '`userPrincipalName`', '`mail`')
|
||||||
|
: Ext.String.format(gettext('Often called {0}'), '`mail`'),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'displayfield',
|
xtype: 'displayfield',
|
||||||
|
Loading…
Reference in New Issue
Block a user