首页如图消息通知中用户姓名显示丢失
This commit is contained in:
parent
0cde026d5f
commit
20cbc0763c
|
@ -782,7 +782,7 @@
|
||||||
<span class="homepageNewsType fl">您增加了新的班级成员:</span>
|
<span class="homepageNewsType fl">您增加了新的班级成员:</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="messageInformationContents">
|
<li class="messageInformationContents">
|
||||||
<%= link_to User.find(ma.course_message_id).login+"("+(User.find(ma.course_message_id).realname ? User.find(ma.course_message_id).realname : User.find(ma.course_message_id).login) +")",
|
<%= link_to User.find(ma.course_message_id).login + "(" + (User.find(ma.course_message_id).show_name) +")",
|
||||||
{:controller => 'courses', :action => 'settings', :id => ma.course_id, :tab => 'member'},
|
{:controller => 'courses', :action => 'settings', :id => ma.course_id, :tab => 'member'},
|
||||||
:class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}",
|
:class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}",
|
||||||
:target => '_blank' %>
|
:target => '_blank' %>
|
||||||
|
|
Loading…
Reference in New Issue