dev_aliyun
杨树明 5 years ago
parent f86410d2d9
commit c1092317eb

@ -244,7 +244,7 @@ class PackageIndexNEITaskDetails extends Component {
<div className={"educontent mt20 mb50"}>
<Breadcrumb separator={'>'} className={"fl"}>
<Breadcrumb.Item>{this.props.current_user.login}</Breadcrumb.Item>
<Breadcrumb.Item>{this.props.current_user.username}</Breadcrumb.Item>
<Breadcrumb.Item>
<a href="/project_packages">任务大厅</a>
</Breadcrumb.Item>
@ -281,14 +281,14 @@ class PackageIndexNEITaskDetails extends Component {
{data&&data.creator.name}
</div>
{data&&data.creator?this.props.current_user.login!=data&&data.creator.login?<div className=" edu-back-white ml5 mt10 "
{data&&data.creator?this.props.current_user.login===data&&data.creator.login?"":<div className=" edu-back-white ml5 mt10 "
onMouseOver={this.setover}
onMouseOut={this.setout}
>
{overtype===false?<a className="ContacttheTA fl" href={`/users/${this.props.current_user.login}/private_messages`}> <img alt="头像" class="mr5" src={require('./newsone.png')} />联系TA</a>:
<a className="ContacttheTAs fl" href={`/users/${this.props.current_user.login}/private_messages`}> <img alt="头像" className="mr5"
src={require('./newstwo.png')}/>联系TA</a>}
</div>:"":""}
</div>:""}
</div>

Loading…
Cancel
Save