消息列表改为用户名

This commit is contained in:
daiao 2016-12-01 13:55:15 +08:00
parent 2e5cd96bb9
commit 233ce0428b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
</a>
</li>
<li class="homepageNewsPubType fl">
<%=link_to ma.course_message.author, user_path(ma.course_message.author), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
<%=link_to ma.course_message.author.show_name, user_path(ma.course_message.author), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
<span class="<%= ma.viewed == 0 ? "homepageNewsTypeNotRead fl":"homepageNewsType fl" %>">发布了通知:</span>
</li>
<li class="homepageNewsContent fl">