1
0
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:
llj
2025-02-06 13:07:15 +08:00
committed by GitHub
parent a96990ebbc
commit 6eb86005f7

View File

@@ -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');}}/>{' '}