|
|
|
@ -110,7 +110,7 @@ class PollDetailIndex extends Component{
|
|
|
|
|
}
|
|
|
|
|
render(){
|
|
|
|
|
let {tab,pollDetail,user_permission}=this.state;
|
|
|
|
|
|
|
|
|
|
const { current_user } = this.props;
|
|
|
|
|
const isAdmin =this.props.isAdmin();
|
|
|
|
|
const isStudent = this.props.isStudent();
|
|
|
|
|
return(
|
|
|
|
@ -123,7 +123,7 @@ class PollDetailIndex extends Component{
|
|
|
|
|
/>
|
|
|
|
|
<div className="educontent mt10 mb50">
|
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${this.props.match.params.coursesId}/students`}>{this.props.coursedata.name}</WordsBtn>
|
|
|
|
|
<WordsBtn style="grey" className="fl" to={current_user.first_category_url}>{this.props.coursedata.name}</WordsBtn>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${this.props.match.params.coursesId}/polls/${user_permission && user_permission.left_banner_id}`}>问卷</WordsBtn>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|