|
|
|
@ -466,7 +466,17 @@ class InfosTopics extends Component{
|
|
|
|
|
|
|
|
|
|
<div className="clearfix ds pr pt5 contentSection" >
|
|
|
|
|
{user_type!="学生"?<Checkbox value={item.id} key={item.id} className={"fl mt5"}></Checkbox>:""}
|
|
|
|
|
<a title={item.name} className="ml10 fl mt3 font-16 color-dark maxwidth900">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a title={item.name} className="ml10 fl mt3 font-16 color-dark maxwidth900" href={
|
|
|
|
|
category==="normal"?`/courses/normal_topics/${item.id}?tab=0`:
|
|
|
|
|
category==="group"?`/courses/group_topics/${item.id}?tab=0`:
|
|
|
|
|
category==="poll"?``:
|
|
|
|
|
category==="exercise"?``:
|
|
|
|
|
category==="gtask"?`/courses/gtask_topics/${item.id}`:
|
|
|
|
|
category==="gtopic"?`/courses/gtopic_topics/${item.id}`:""
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
{item.name}
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
@ -489,12 +499,12 @@ class InfosTopics extends Component{
|
|
|
|
|
<div className="homepagePostSetting homepagePostSettingname topscisright">
|
|
|
|
|
{types==="personal"?user_id===targetuserid&&user_type!="学生"?
|
|
|
|
|
<a className="btn colorblue mr25 font-16 fr"
|
|
|
|
|
href={category==="normal"?`/courses/ordinarywork/${item.id}?tab=0`:
|
|
|
|
|
category==="group"?`/courses/groupingwork/${item.id}?tab=0`:
|
|
|
|
|
category==="poll"?`/courses/questreediting/${item.id}/edit`:
|
|
|
|
|
category==="exercise"?`/courses/exercise/${item.id}`:
|
|
|
|
|
category==="gtask"?`/courses/completetask/${item.id}`:
|
|
|
|
|
category==="gtopic"?`/courses/completetopic/${item.id}`:""
|
|
|
|
|
href={category==="normal"?``:
|
|
|
|
|
category==="group"?``:
|
|
|
|
|
category==="poll"?`/courses/poll_topics/${item.id}/edit`:
|
|
|
|
|
category==="exercise"?``:
|
|
|
|
|
category==="gtask"?``:
|
|
|
|
|
category==="gtopic"?``:""
|
|
|
|
|
}
|
|
|
|
|
>编辑</a>
|
|
|
|
|
:"":""}
|
|
|
|
|