|
|
|
@ -111,11 +111,11 @@ class InfosBanner extends Component{
|
|
|
|
|
onClick={() => this.setState({moduleName: 'projects'})}
|
|
|
|
|
to={`/users/${username}/projects`}>开发项目</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li className={`${moduleName == 'package' ? 'active' : '' }`}>
|
|
|
|
|
<Link
|
|
|
|
|
onClick={() => this.setState({moduleName: 'package'})}
|
|
|
|
|
to={`/users/${username}/package`}>众包</Link>
|
|
|
|
|
</li>
|
|
|
|
|
{/*<li className={`${moduleName == 'package' ? 'active' : '' }`}>*/}
|
|
|
|
|
{/* <Link*/}
|
|
|
|
|
{/* onClick={() => this.setState({moduleName: 'package'})}*/}
|
|
|
|
|
{/* to={`/users/${username}/package`}>众包</Link>*/}
|
|
|
|
|
{/*</li>*/}
|
|
|
|
|
{((is_current && current_user && current_user.is_teacher ) || current_user && current_user.admin)
|
|
|
|
|
&& <li className={`${moduleName == 'videos' ? 'active' : '' }`}>
|
|
|
|
|
<Link
|
|
|
|
|