|
|
|
@ -100,12 +100,12 @@ class InfosBanner extends Component{
|
|
|
|
|
onClick={() => this.setState({moduleName: 'package'})}
|
|
|
|
|
to={`/users/${username}/package`}>众包</Link>
|
|
|
|
|
</li>
|
|
|
|
|
{((is_current && current_user && current_user.is_teacher ) || current_user && current_user.admin)
|
|
|
|
|
{/* {((is_current && current_user && current_user.is_teacher ) || current_user && current_user.admin)
|
|
|
|
|
&& <li className={`${moduleName == 'videos' ? 'active' : '' }`}>
|
|
|
|
|
<Link
|
|
|
|
|
onClick={() => this.setState({moduleName: 'videos'})}
|
|
|
|
|
to={`/users/${username}/videos`}>视频</Link>
|
|
|
|
|
</li>}
|
|
|
|
|
</li>} */}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|