dev_aliyun2
杨树明 5 years ago committed by harry
parent c8f9d7758d
commit b4941717fd

@ -44,7 +44,7 @@
.height7052pxRepositor{
height: 70px;
line-height: 52px;
line-height: 45px;
}
.padding020Repository{

@ -146,9 +146,7 @@ class Repository extends Component {
</div>
{this.props.secret_repository_tab && <RepositoryCombinePath {...this.props}>
</RepositoryCombinePath>}
</div>
</div>
@ -160,12 +158,20 @@ class Repository extends Component {
}
`}
</style>
{/*私密版本库*/}
{this.props.secret_repository_tab && <div className={"padding020Repository mt20"}>
<RepositoryCombinePath {...this.props}></RepositoryCombinePath>
</div> }
{/* 用户、最近提交时间 */}
{
trees === undefined || trees === null ||trees.length===0? <RepositoryNoneData></RepositoryNoneData>:
<div className={"padding020Repository"}>
{commits===undefined?"":commits===null||commits.length===0?"":<div className=" padding10-20 clearfix height7052pxRepositor borbotF4">
<img alt={author.name} className="radius fl mr10 mt10"
<img alt={author.name} className="radius fl mr10 mt5"
height="35"
src={getImageUrl(`images/`+commits[0].author.image_url)}
style={{display:userauthority===true?"none":"block"}}
@ -177,9 +183,9 @@ class Repository extends Component {
</acronym> {commits===undefined?"":commits[0].title}
</span>
<a href={`/shixuns/${match.params.shixunId}/${this.props.secret_repository_tab ? 'secret_repository' : 'repository'}/${match.params.shixunId}/commits`}
className="color-grey-6 fr font-16 ">
className="color-grey-6 fr font-16 mt3">
<i className="iconfont icon-tijiaojilu font-18 fl mr5"></i>
<span className="fl mt2">提交记录</span>
<span className="fl">提交记录</span>
</a>
</div>}

Loading…
Cancel
Save