diff --git a/public/react/src/modules/paths/PathDetail/DetailTop.js b/public/react/src/modules/paths/PathDetail/DetailTop.js index 9110f4fcb..643b0e885 100644 --- a/public/react/src/modules/paths/PathDetail/DetailTop.js +++ b/public/react/src/modules/paths/PathDetail/DetailTop.js @@ -290,61 +290,61 @@ class DetailTop extends Component{ detailInfoList &&
- 27?detailInfoList.name:""}> - - {detailInfoList.name} - - + {/*27?detailInfoList.name:""}>*/} + + {/**/} - {detailInfoList===undefined?"":detailInfoList.excellent === false ? "" : - - 开放课程 - } - {detailInfoList===undefined?"":detailInfoList.allow_statistics===true? - - - - - - :"" - } - {detailInfoList===undefined?"":detailInfoList.allow_statistics===true?this.props.courses===undefined? - - 学习统计 - :"":"" - } + + {detailInfoList.name} + {detailInfoList===undefined?"":detailInfoList.excellent === false ? "" : + +
开放课程
+
+ } +
- { detailInfoList.allow_send === true?this.props.courses===undefined? - :"":"" - } -
- {this.props.courses===undefined?"":detailInfoList.is_creator===true?this.OpenCoursefun()}>开课:""} - {detailInfoList===undefined?"":detailInfoList.allow_statistics===true?this.props.courses===undefined?"": - 学习统计 - :"" - } -
{ @@ -359,27 +359,49 @@ class DetailTop extends Component{ }
+ + {detailInfoList===undefined?"":detailInfoList.allow_statistics===true? + + 编辑 + + :"" + } + {detailInfoList===undefined?"":detailInfoList.allow_delete===true?删除课程:""} + className={"fl font-18 color-white kaike mr20 kkbths"} + onClick={this.allow_deletepath} + >删除:""} { detailInfoList.publish_status===0&&detailInfoList.allow_add_member===true? - 申请发布:"" + 申请发布:"" } { detailInfoList.publish_status===1 && detailInfoList.allow_statistics===true? - 撤销申请:"" + 撤销申请:"" } { detailInfoList.publish_status===2 && detailInfoList.allow_statistics===true? - 撤销发布:"" + 撤销发布:"" } -
+ + + {this.props.courses===undefined?"":detailInfoList.is_creator===true?this.OpenCoursefun()}>开课:""} + + { detailInfoList.allow_send === true?this.props.courses===undefined? + :"":"" + } + + {detailInfoList===undefined?"":detailInfoList.allow_statistics===true? + + 学习统计 + :"" + } + +
diff --git a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js index 8237b1abf..6383b7d60 100644 --- a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js +++ b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js @@ -381,14 +381,14 @@ class PathDetailIndex extends Component{

简介 - {detailInfoList===undefined?"":detailInfoList.allow_statistics===true? - - - - - - :"" - } + {/*{detailInfoList===undefined?"":detailInfoList.allow_statistics===true?*/} + {/**/} + {/**/} + {/**/} + {/**/} + {/**/} + {/*:""*/} + {/*}*/}

@@ -409,14 +409,14 @@ class PathDetailIndex extends Component{

课程须知 - {detailInfoList===undefined?"":detailInfoList.allow_statistics===true? - - - - - - :"" - } + {/*{detailInfoList===undefined?"":detailInfoList.allow_statistics===true?*/} + {/**/} + {/**/} + {/**/} + {/**/} + {/**/} + {/*:""*/} + {/*}*/}

{detailInfoList === undefined ? "" :detailInfoList.learning_notes===null?"": diff --git a/public/react/src/modules/paths/PathDetail/sendPanel.js b/public/react/src/modules/paths/PathDetail/sendPanel.js index ae7dd5b00..3c5c6023b 100644 --- a/public/react/src/modules/paths/PathDetail/sendPanel.js +++ b/public/react/src/modules/paths/PathDetail/sendPanel.js @@ -180,7 +180,7 @@ class sendPanel extends Component{ { this.props.detailInfoList===undefined?"":this.props.detailInfoList.allow_send===true? - + 发送至 :''