|
|
@ -509,7 +509,7 @@ class ExerciseReviewAndAnswer extends Component{
|
|
|
|
}=this.state
|
|
|
|
}=this.state
|
|
|
|
let isAdmin = this.props.isAdmin();
|
|
|
|
let isAdmin = this.props.isAdmin();
|
|
|
|
let isStudent =this.props.isStudent();
|
|
|
|
let isStudent =this.props.isStudent();
|
|
|
|
|
|
|
|
const { current_user } = this.props
|
|
|
|
console.log(data&&data.exercise.user_name)
|
|
|
|
console.log(data&&data.exercise.user_name)
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="newMain" style={{paddingTop:"0px"}}>
|
|
|
|
<div className="newMain" style={{paddingTop:"0px"}}>
|
|
|
@ -537,7 +537,7 @@ class ExerciseReviewAndAnswer extends Component{
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div className="educontent mt10 mb50">
|
|
|
|
<div className="educontent mt10 mb50">
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${coursesId}`}>{courseName}</WordsBtn>
|
|
|
|
<WordsBtn style="grey" className="fl" to={current_user.first_category_url}>{courseName}</WordsBtn>
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${coursesId}/exercises/${data && data.left_banner_id}`}>{data && data.left_banner_name}</WordsBtn>
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${coursesId}/exercises/${data && data.left_banner_id}`}>{data && data.left_banner_name}</WordsBtn>
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|