Add IDs to Account Settings > General (#5763)
* Add IDs * Add ID for cancel button * Update ID on cancel button
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
7a7b293113
Коммит
6b208c5f3c
@@ -89,6 +89,7 @@ export default class SettingItemMax extends React.Component {
|
|||||||
{clientError}
|
{clientError}
|
||||||
{submit}
|
{submit}
|
||||||
<a
|
<a
|
||||||
|
id={this.props.title + 'Cancel'}
|
||||||
className='btn btn-sm'
|
className='btn btn-sm'
|
||||||
href='#'
|
href='#'
|
||||||
onClick={this.props.updateSection}
|
onClick={this.props.updateSection}
|
||||||
|
|||||||
@@ -422,6 +422,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
</label>
|
</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='primaryEmail'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='email'
|
type='email'
|
||||||
onChange={this.updateEmail}
|
onChange={this.updateEmail}
|
||||||
@@ -443,6 +444,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
</label>
|
</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='confirmEmail'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='email'
|
type='email'
|
||||||
onChange={this.updateConfirmEmail}
|
onChange={this.updateConfirmEmail}
|
||||||
@@ -846,6 +848,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
<label className='col-sm-5 control-label'>{nicknameLabel}</label>
|
<label className='col-sm-5 control-label'>{nicknameLabel}</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='nickname'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='text'
|
type='text'
|
||||||
onChange={this.updateNickname}
|
onChange={this.updateNickname}
|
||||||
@@ -930,6 +933,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
<label className='col-sm-5 control-label'>{usernameLabel}</label>
|
<label className='col-sm-5 control-label'>{usernameLabel}</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='username'
|
||||||
maxLength={Constants.MAX_USERNAME_LENGTH}
|
maxLength={Constants.MAX_USERNAME_LENGTH}
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='text'
|
type='text'
|
||||||
@@ -1020,6 +1024,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
<label className='col-sm-5 control-label'>{positionLabel}</label>
|
<label className='col-sm-5 control-label'>{positionLabel}</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='position'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='text'
|
type='text'
|
||||||
onChange={this.updatePosition}
|
onChange={this.updatePosition}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user