From dc0051145ac18ba650069a39391c2667f3419ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 29 Jun 2019 11:01:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/Resource/index.js | 2 +- .../src/modules/courses/exercise/ExerciseReviewAndAnswer.js | 2 +- public/react/src/modules/courses/poll/Poll.js | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/courses/Resource/index.js b/public/react/src/modules/courses/Resource/index.js index c4b5d10b0..e2d6d1618 100644 --- a/public/react/src/modules/courses/Resource/index.js +++ b/public/react/src/modules/courses/Resource/index.js @@ -668,7 +668,7 @@ class Fileslists extends Component{
共 {total_count} 个资源 已发布:{public_count}个 - {this.props.isAdmin()||this.props.isStudent()?未发布:{private_count}个:""} + 未发布:{private_count}个
} onPressEnter={this.onPressEnter} diff --git a/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js b/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js index b9da3f2eb..31c293659 100644 --- a/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js +++ b/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js @@ -561,7 +561,7 @@ class ExerciseReviewAndAnswer extends Component{

{ exercise && exercise.exercise_description && -

{exercise.exercise_description}

+

{exercise.exercise_description}

}

{ diff --git a/public/react/src/modules/courses/poll/Poll.js b/public/react/src/modules/courses/poll/Poll.js index a41f65ccd..0170cac00 100644 --- a/public/react/src/modules/courses/poll/Poll.js +++ b/public/react/src/modules/courses/poll/Poll.js @@ -523,9 +523,7 @@ class Poll extends Component{

共{polls_counts && polls_counts.polls_total_counts}个问卷 已发布:{polls_counts && polls_counts.polls_published_counts}个 - { - isAdmin && 未发布:{polls_counts && polls_counts.polls_unpublish_counts}个 - } + 未发布:{polls_counts && polls_counts.polls_unpublish_counts}个