mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
repair copywrite bug (#2895)
This commit is contained in:
@@ -179,7 +179,7 @@ class CreateRepoDialog extends React.Component {
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
{/* todo translate */}
|
||||
<Label for="passwd1">{gettext('Password')}{' '}<span className="tip">(at least 8 characters)</span></Label>
|
||||
<Label for="passwd1" className="font-weight-bold">{gettext('Password')}{' '}</Label><span className="tip">{gettext('(at least 8 characters)')}</span>
|
||||
<Input
|
||||
id="passwd1"
|
||||
type="password"
|
||||
@@ -189,7 +189,7 @@ class CreateRepoDialog extends React.Component {
|
||||
/>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<Label for="passwd2">{gettext('Password again')}</Label>
|
||||
<Label for="passwd2" className="font-weight-bold">{gettext('Password again')}</Label>
|
||||
<Input
|
||||
id="passwd2"
|
||||
type="password"
|
||||
|
@@ -293,7 +293,7 @@ class GenerateShareLink extends React.Component {
|
||||
{this.state.isShowPasswordInput &&
|
||||
<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.isPasswordVisible ? 'text' : 'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
|
||||
<InputGroupAddon addonType="append">
|
||||
@@ -301,7 +301,7 @@ class GenerateShareLink 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.isPasswordVisible ? 'text' : 'password'} value={this.state.passwdnew || ''} onChange={this.inputPasswordNew} />
|
||||
</FormGroup>
|
||||
}
|
||||
|
@@ -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