Create seperate field for current email (#6197)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
f5d9010f9a
Коммит
66f538783b
@@ -365,7 +365,8 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
lastName: user.last_name,
|
lastName: user.last_name,
|
||||||
nickname: user.nickname,
|
nickname: user.nickname,
|
||||||
position: user.position,
|
position: user.position,
|
||||||
email: user.email,
|
originalEmail: user.email,
|
||||||
|
email: '',
|
||||||
confirmEmail: '',
|
confirmEmail: '',
|
||||||
picture: null,
|
picture: null,
|
||||||
loadingPicture: false,
|
loadingPicture: false,
|
||||||
@@ -423,13 +424,29 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
let submit = null;
|
let submit = null;
|
||||||
|
|
||||||
if (this.props.user.auth_service === '') {
|
if (this.props.user.auth_service === '') {
|
||||||
|
inputs.push(
|
||||||
|
<div key='currentEmailSetting'>
|
||||||
|
<div className='form-group'>
|
||||||
|
<label className='col-sm-5 control-label'>
|
||||||
|
<FormattedMessage
|
||||||
|
id='user.settings.general.currentEmail'
|
||||||
|
defaultMessage='Current Email'
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
|
<div className='col-sm-7'>
|
||||||
|
<label className='control-label'>{this.state.originalEmail}</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
inputs.push(
|
inputs.push(
|
||||||
<div key='emailSetting'>
|
<div key='emailSetting'>
|
||||||
<div className='form-group'>
|
<div className='form-group'>
|
||||||
<label className='col-sm-5 control-label'>
|
<label className='col-sm-5 control-label'>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='user.settings.general.primaryEmail'
|
id='user.settings.general.newEmail'
|
||||||
defaultMessage='Primary Email'
|
defaultMessage='New Email'
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
|
|||||||
@@ -2166,6 +2166,7 @@
|
|||||||
"user.settings.general.checkEmailNoAddress": "Check your email to verify your new address",
|
"user.settings.general.checkEmailNoAddress": "Check your email to verify your new address",
|
||||||
"user.settings.general.close": "Close",
|
"user.settings.general.close": "Close",
|
||||||
"user.settings.general.confirmEmail": "Confirm Email",
|
"user.settings.general.confirmEmail": "Confirm Email",
|
||||||
|
"user.settings.general.currentEmail": "Current Email",
|
||||||
"user.settings.general.email": "Email",
|
"user.settings.general.email": "Email",
|
||||||
"user.settings.general.emailGitlabCantUpdate": "Login occurs through GitLab. Email cannot be updated. Email address used for notifications is {email}.",
|
"user.settings.general.emailGitlabCantUpdate": "Login occurs through GitLab. Email cannot be updated. Email address used for notifications is {email}.",
|
||||||
"user.settings.general.emailGoogleCantUpdate": "Login occurs through Google. Email cannot be updated. Email address used for notifications is {email}.",
|
"user.settings.general.emailGoogleCantUpdate": "Login occurs through Google. Email cannot be updated. Email address used for notifications is {email}.",
|
||||||
@@ -2193,13 +2194,13 @@
|
|||||||
"user.settings.general.loginOffice365": "Login done through Office 365 ({email})",
|
"user.settings.general.loginOffice365": "Login done through Office 365 ({email})",
|
||||||
"user.settings.general.loginSaml": "Login done through SAML ({email})",
|
"user.settings.general.loginSaml": "Login done through SAML ({email})",
|
||||||
"user.settings.general.newAddress": "New Address: {email}<br />Check your email to verify the above address.",
|
"user.settings.general.newAddress": "New Address: {email}<br />Check your email to verify the above address.",
|
||||||
|
"user.settings.general.newEmail": "New Email",
|
||||||
"user.settings.general.nickname": "Nickname",
|
"user.settings.general.nickname": "Nickname",
|
||||||
"user.settings.general.nicknameExtra": "Use Nickname for a name you might be called that is different from your first name and username. This is most often used when two or more people have similar sounding names and usernames.",
|
"user.settings.general.nicknameExtra": "Use Nickname for a name you might be called that is different from your first name and username. This is most often used when two or more people have similar sounding names and usernames.",
|
||||||
"user.settings.general.notificationsExtra": "By default, you will receive mention notifications when someone types your first name. Go to {notify} settings to change this default.",
|
"user.settings.general.notificationsExtra": "By default, you will receive mention notifications when someone types your first name. Go to {notify} settings to change this default.",
|
||||||
"user.settings.general.notificationsLink": "Notifications",
|
"user.settings.general.notificationsLink": "Notifications",
|
||||||
"user.settings.general.position": "Position",
|
"user.settings.general.position": "Position",
|
||||||
"user.settings.general.positionExtra": "Use Position for your role or job title. This will be shown in your profile popover.",
|
"user.settings.general.positionExtra": "Use Position for your role or job title. This will be shown in your profile popover.",
|
||||||
"user.settings.general.primaryEmail": "Primary Email",
|
|
||||||
"user.settings.general.profilePicture": "Profile Picture",
|
"user.settings.general.profilePicture": "Profile Picture",
|
||||||
"user.settings.general.title": "General Settings",
|
"user.settings.general.title": "General Settings",
|
||||||
"user.settings.general.uploadImage": "Click 'Edit' to upload an image.",
|
"user.settings.general.uploadImage": "Click 'Edit' to upload an image.",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user