1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 23:02:26 +00:00
This commit is contained in:
Michael An
2019-01-05 18:12:33 +08:00
committed by Daniel Pan
parent 77e557820e
commit b5cc1ef09e
2 changed files with 10 additions and 10 deletions

View File

@@ -176,6 +176,13 @@ class DirPanel extends React.Component {
onTabNavClick={this.props.onTabNavClick} onTabNavClick={this.props.onTabNavClick}
/> />
</div> </div>
<div className="cur-view-content">
{this.props.errorMsg ?
<p className="error text-center">{this.props.errorMsg}</p> :
<Fragment>
{!this.props.pathExist ?
errMessage :
<Fragment>
{(this.props.usedRepoTags.length > 0 && this.props.path === '/') && ( {(this.props.usedRepoTags.length > 0 && this.props.path === '/') && (
<div className="tags-summary-bar"> <div className="tags-summary-bar">
<FileTagsViewer <FileTagsViewer
@@ -185,13 +192,6 @@ class DirPanel extends React.Component {
/> />
</div> </div>
)} )}
<div className="cur-view-content">
{this.props.errorMsg ?
<p className="error text-center">{this.props.errorMsg}</p> :
<Fragment>
{!this.props.pathExist ?
errMessage :
<Fragment>
<DirentListView <DirentListView
path={this.props.path} path={this.props.path}
repoID={this.props.repoID} repoID={this.props.repoID}

View File

@@ -95,7 +95,7 @@
} }
.tags-summary-bar { .tags-summary-bar {
margin: 16px 16px 4px; margin-bottom: 5px;
padding: 0 10px; padding: 0 10px;
border: 1px solid #e6e6dd; border: 1px solid #e6e6dd;
border-radius: 5px; border-radius: 5px;