1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

repo-status-interface

This commit is contained in:
王健辉
2019-05-17 16:30:56 +08:00
parent 75954dbf93
commit ba2ac6ca49
4 changed files with 9 additions and 1 deletions

View File

@@ -164,6 +164,11 @@ class LibContentContainer extends React.Component {
return (
<Fragment>
<div className="cur-view-container">
{this.props.currentRepoInfo.status === 'read-only' &&
<div style={{background:'#FEFBDC', textAlign:'center'}}>
<p>{gettext('This library has been set to read-only by admin and cannot be updated.')}</p>
</div>
}
<div className="cur-view-path">
<CurDirPath
repoID={repoID}