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