|
|
|
@ -665,6 +665,10 @@ class CoursesBanner extends Component {
|
|
|
|
|
|
|
|
|
|
{/*}*/}
|
|
|
|
|
<div>
|
|
|
|
|
{this.props.isStudent()?this.props.current_user&&this.props.current_user.course_is_end===true?"":<a className="fr user_default_btn user_blue_btn mr20 font-18"
|
|
|
|
|
onClick={() => this.exitclass()}
|
|
|
|
|
> 永久退出课堂 </a>:""}
|
|
|
|
|
|
|
|
|
|
{coursedata.switch_to_student === true ?
|
|
|
|
|
<Tooltip placement="bottom" title={
|
|
|
|
|
<pre>由教师/助教身份切换至学生<br/>可进行提交作品、答题等操作</pre>
|
|
|
|
@ -723,9 +727,7 @@ class CoursesBanner extends Component {
|
|
|
|
|
)
|
|
|
|
|
: ""}
|
|
|
|
|
|
|
|
|
|
{this.props.isStudent()?this.props.current_user&&this.props.current_user.course_is_end===true?"":<a className="fr user_default_btn user_blue_btn mr20 font-18"
|
|
|
|
|
onClick={() => this.exitclass()}
|
|
|
|
|
> 永久退出课堂 </a>:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|