mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 11:21:29 +00:00
repair copywrite bug (#2895)
This commit is contained in:
@@ -151,7 +151,7 @@ class GenerateUploadLink extends React.Component {
|
||||
{this.state.showPasswordInput &&
|
||||
<FormGroup className="link-operation-content">
|
||||
{/* todo translate */}
|
||||
<Label>{gettext('Password')}</Label>{' '}<span className="tip">(at least 8 characters)</span>
|
||||
<Label className="font-weight-bold">{gettext('Password')}</Label>{' '}<span className="tip">{gettext('(at least 8 characters)')}</span>
|
||||
<InputGroup className="passwd">
|
||||
<Input type={this.state.passwordVisible ? 'text':'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
|
||||
<InputGroupAddon addonType="append">
|
||||
@@ -159,7 +159,7 @@ class GenerateUploadLink extends React.Component {
|
||||
<Button onClick={this.generatePassword}><i className="link-operation-icon fas fa-magic"></i></Button>
|
||||
</InputGroupAddon>
|
||||
</InputGroup>
|
||||
<Label>{gettext('Password again')}</Label>
|
||||
<Label className="font-weight-bold">{gettext('Password again')}</Label>
|
||||
<Input className="passwd" type={this.state.passwordVisible ? 'text' : 'password'} value={this.state.passwordnew || ''} onChange={this.inputPasswordNew} />
|
||||
</FormGroup>
|
||||
}
|
||||
|
Reference in New Issue
Block a user