diff --git a/public/react/src/modules/courses/Resource/Fileslistitem.js b/public/react/src/modules/courses/Resource/Fileslistitem.js
index 6a1e16d6d..fef839e88 100644
--- a/public/react/src/modules/courses/Resource/Fileslistitem.js
+++ b/public/react/src/modules/courses/Resource/Fileslistitem.js
@@ -208,15 +208,19 @@ class Fileslistitem extends Component{
}
{
- this.props.isNotMember ?
+ this.props.isNotMember===true?
+ discussMessage.is_lock === true ?
{discussMessage.title}
- :""
- }
+ :this.showfiles(discussMessage.title)}
+ title={discussMessage.title}
+ className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.title}:""
+ }
{
discussMessage.is_lock === true ?
-
+
:""
diff --git a/public/react/src/modules/courses/exercise/ExerciseListItem.js b/public/react/src/modules/courses/exercise/ExerciseListItem.js
index 8ffd16937..e890b92ef 100644
--- a/public/react/src/modules/courses/exercise/ExerciseListItem.js
+++ b/public/react/src/modules/courses/exercise/ExerciseListItem.js
@@ -107,9 +107,9 @@ class ExerciseListItem extends Component{
}
{
- this.props.isNotMember()?
+ this.props.isNotMember()? item.lock_status === 0 ?
{item.exercise_name}
- :""
+ : {item.exercise_name}:""
}
{
diff --git a/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js b/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js
index 10ce65436..892a8d599 100644
--- a/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js
+++ b/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js
@@ -229,15 +229,17 @@ class GraduateTaskItem extends Component{
}
{
- this.props.isNotMember?
+ this.props.isNotMember===true?this.props.discussMessage.private_icon===true?
{discussMessage.name}
- :""
+ :{discussMessage.name}:""
}
{
this.props.discussMessage.private_icon===true?
-
+
:
diff --git a/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js b/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js
index 459a88e5e..912366168 100644
--- a/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js
+++ b/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js
@@ -304,15 +304,16 @@ class ShixunhomeWorkItem extends Component{
}
{
- this.props.isNotMember?
- {discussMessage.name}
- :""
+ this.props.isNotMember===true? this.props.discussMessage.private_icon===true?
+ {discussMessage.name}
+ : {discussMessage.name}:""
}
{
this.props.discussMessage.private_icon===true?
-
+
: