dev_aliyun_beta
杨树明 6 years ago
parent a5b86940b6
commit 52bb727255

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

Loading…
Cancel
Save