|
|
|
@ -70,15 +70,17 @@ class GraduateTopicItem extends Component{
|
|
|
|
|
`}</style>
|
|
|
|
|
<h6>
|
|
|
|
|
{
|
|
|
|
|
isNotMember && discussMessage.private_icon===true ?
|
|
|
|
|
<a className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:
|
|
|
|
|
<a onClick={() => this.toDetailPage(`${discussMessage.id}`)} className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>
|
|
|
|
|
isNotMember?
|
|
|
|
|
<a className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:""
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
isStudent?<a onClick={() => this.toDetailPage(`${discussMessage.id}`)}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
isAdmin?<a onClick={() => this.toDetailPage(`${discussMessage.id}`)} className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
discussMessage.private_icon===true?
|
|
|
|
|
<Tooltip title={ this.props.isNotMember()===true?"私有属性,非课堂成员不能访问":"私有属性"} placement="bottom">
|
|
|
|
|