1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

Merge pull request #3499 from haiwen/repo-status-3

Repo status 3
This commit is contained in:
Daniel Pan
2019-05-20 11:13:06 +08:00
committed by GitHub
14 changed files with 152 additions and 8 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 className="readonly-tip-message">
{gettext('This library has been set to read-only by admin and cannot be updated.')}
</div>
}
<div className="cur-view-path">
<CurDirPath
repoID={repoID}