mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
[library history setting] modified the UI of the 'setting disabled' tip (#7436)
This commit is contained in:
@@ -110,9 +110,7 @@ class LibHistorySetting extends React.Component {
|
||||
<ModalBody>
|
||||
<Form>
|
||||
{!enableRepoHistorySetting &&
|
||||
<FormGroup>
|
||||
<Label className="error">{gettext('Setting library history is disabled by Admin.')}</Label>
|
||||
</FormGroup>
|
||||
<p className="tip">{gettext('Setting library history is disabled by Admin.')}</p>
|
||||
}
|
||||
<FormGroup check>
|
||||
<Input type="radio" name="radio1" checked={this.state.allHistory} disabled={!enableRepoHistorySetting} onChange={() => {this.setLimitDays('allHistory');}}/>{' '}
|
||||
|
Reference in New Issue
Block a user