|
|
@ -271,7 +271,7 @@ class Fileslistitem extends Component{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="mr50">
|
|
|
|
<div className="mr50">
|
|
|
|
<span className="mr15 color-dark">{item.course_group_name}</span>
|
|
|
|
<span className="mr15 color-dark">{item.course_group_name}</span>
|
|
|
|
<span className="mr15 color-grey9 ">将发布于 { moment(item.course_group_publish_time).format('YYYY-MM-DD hh:mm')}</span>
|
|
|
|
<span className="mr15 color-grey9 ">将发布于 { moment(item.course_group_publish_time).format('YYYY-MM-DD HH:mm')}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
})}
|
|
|
|
})}
|
|
|
@ -289,7 +289,7 @@ class Fileslistitem extends Component{
|
|
|
|
{/*{moment(discussMessage.publish_time).fromNow()}*/}
|
|
|
|
{/*{moment(discussMessage.publish_time).fromNow()}*/}
|
|
|
|
{ discussMessage.publish_time===null?"":
|
|
|
|
{ discussMessage.publish_time===null?"":
|
|
|
|
discussMessage.is_publish===true?"":"发布于"}
|
|
|
|
discussMessage.is_publish===true?"":"发布于"}
|
|
|
|
{ discussMessage.publish_time===null?"":discussMessage.is_publish===true?moment(discussMessage.publish_time).fromNow():moment(discussMessage.publish_time).format('YYYY-MM-DD hh:mm')}
|
|
|
|
{ discussMessage.publish_time===null?"":discussMessage.is_publish===true?moment(discussMessage.publish_time).fromNow():moment(discussMessage.publish_time).format('YYYY-MM-DD HH:mm')}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
{this.props.isAdmin ||this.props.current_user.login===discussMessage.author.login?
|
|
|
|
{this.props.isAdmin ||this.props.current_user.login===discussMessage.author.login?
|
|
|
|