|
|
|
@ -872,7 +872,6 @@ submittojoinclass=(value)=>{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// console.log("NewHeadergetHelmetapi432423423423");
|
|
|
|
|
// console.log(mygetHelmetapi2);
|
|
|
|
|
// console.log("NewHeadermygetHelmetapi123123123123");
|
|
|
|
|
|
|
|
|
@ -1234,11 +1233,11 @@ submittojoinclass=(value)=>{
|
|
|
|
|
</a>
|
|
|
|
|
<ul className="edu-menu-list" style={{top:'60px'}}>
|
|
|
|
|
<span className="bor-bottom-greyE currentName task-hide">{user.username}</span>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/courses`}>我的翻转课堂</Link></li>
|
|
|
|
|
{coursestypes===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/courses`}>我的翻转课堂</Link></li>}
|
|
|
|
|
{/* p 老师 l 学生 */}
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/shixuns`}>我的实训项目</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/paths`}>我的实践课程</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/projects`}>我的开发项目</Link></li>
|
|
|
|
|
{shixuntype===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/shixuns`}>我的实训项目</Link></li>}
|
|
|
|
|
{pathstype===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/paths`}>我的实践课程</Link></li>}
|
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/projects`}>我的开发项目</Link></li>:""}
|
|
|
|
|
{/*<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/package`}>我的众包</Link></li>*/}
|
|
|
|
|
<li style={{display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.customer_management_url===null || this.props.Headertop.customer_management_url===""? 'none' : 'block'}}>
|
|
|
|
|
<a href={this.props.Headertop === undefined ? '' : this.props.Headertop.customer_management_url}>客户管理</a>
|
|
|
|
@ -1290,7 +1289,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
{this.props.Headertop===undefined?"":
|
|
|
|
|
pathstype===true?"":<li><a onClick={(url)=>this.getUser("/paths/new")} >新建实践课程</a></li>
|
|
|
|
|
}
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/projects/new","projects")} target="_blank">新建开发项目</a></li>
|
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<li><a onClick={(url)=>this.getUser("/projects/new","projects")} target="_blank">新建开发项目</a></li>:""}
|
|
|
|
|
</ul>
|
|
|
|
|
<ul className="fl with50 edu-txt-center">
|
|
|
|
|
|
|
|
|
@ -1307,9 +1306,9 @@ submittojoinclass=(value)=>{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* /courses/join_course_multi_role */}
|
|
|
|
|
<li>
|
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<li>
|
|
|
|
|
<a onClick={this.tojoinitem}>加入开发项目</a>
|
|
|
|
|
</li>
|
|
|
|
|
</li>:""}
|
|
|
|
|
{tojoinitemtype===true?<Modal
|
|
|
|
|
keyboard={false}
|
|
|
|
|
title="加入项目"
|
|
|
|
|