dev_forum
杨树明 6 years ago
parent d476cc06a6
commit dc0051145a

@ -668,7 +668,7 @@ class Fileslists extends Component{
<div style={{"display":"inline-block", "marginTop": "22px"}}> <div style={{"display":"inline-block", "marginTop": "22px"}}>
<span> {total_count} 个资源</span> <span> {total_count} 个资源</span>
<span style={{"marginLeft":"16px"}}>已发布{public_count}</span> <span style={{"marginLeft":"16px"}}>已发布{public_count}</span>
{this.props.isAdmin()||this.props.isStudent()?<span style={{"marginLeft":"16px"}}>未发布{private_count}</span>:""} <span style={{"marginLeft":"16px"}}>未发布{private_count}</span>
</div> </div>
} }
onPressEnter={this.onPressEnter} onPressEnter={this.onPressEnter}

@ -561,7 +561,7 @@ class ExerciseReviewAndAnswer extends Component{
</p> </p>
{ {
exercise && exercise.exercise_description && exercise && exercise.exercise_description &&
<p className="color-grey-3 edu-back-white padding15 edu-txt-center mt30">{exercise.exercise_description}</p> <p className="color-grey-3 edu-back-white padding15 mt30">{exercise.exercise_description}</p>
} }
<p className="padding20-30 clearfix"> <p className="padding20-30 clearfix">
{ {

@ -523,9 +523,7 @@ class Poll extends Component{
<p className="fl font-16" style={{"marginTop":"27px"}}> <p className="fl font-16" style={{"marginTop":"27px"}}>
<span className="mr20">{polls_counts && polls_counts.polls_total_counts}个问卷</span> <span className="mr20">{polls_counts && polls_counts.polls_total_counts}个问卷</span>
<span className="mr20">已发布{polls_counts && polls_counts.polls_published_counts}</span> <span className="mr20">已发布{polls_counts && polls_counts.polls_published_counts}</span>
{ <span>未发布{polls_counts && polls_counts.polls_unpublish_counts}</span>
isAdmin && <span>未发布{polls_counts && polls_counts.polls_unpublish_counts}</span>
}
</p> </p>
<div className="fr mt16 mb16 searchView"> <div className="fr mt16 mb16 searchView">
<Search <Search

Loading…
Cancel
Save