|
|
|
@ -84,7 +84,7 @@ class Repository extends Component {
|
|
|
|
|
<a href="/forums/2784" target="_blank"
|
|
|
|
|
className=" guideBtn" >Git使用指南</a>
|
|
|
|
|
{
|
|
|
|
|
this.props.current_user && (this.props.current_user.admin ==true || (TPMRightSectionData&& TPMRightSectionData.creator && TPMRightSectionData.creator.login == this.props.current_user.login)) ?
|
|
|
|
|
this.props.current_user && (this.props.current_user.admin ==true || (TPMRightSectionData && TPMRightSectionData.creator && TPMRightSectionData.creator.login == this.props.current_user.login)) ?
|
|
|
|
|
<ActionBtn style="orangeLine" className="ml20" to={`/shixuns/${match.params.shixunId}/repository/add_file`}>+添加文件</ActionBtn>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|