diff --git a/app/views/users/user_messages.html.erb b/app/views/users/user_messages.html.erb index 23afdd245..82c9f5d3f 100644 --- a/app/views/users/user_messages.html.erb +++ b/app/views/users/user_messages.html.erb @@ -54,7 +54,7 @@ 【系统消息】
  • - <%= link_to usm.content.nil? ? usm.description.html_safe : usm.content.html_safe, user_system_messages_path(User.current), + <%= link_to usm.subject.nil? ? (usm.content.nil? ? usm.description.html_safe : usm.content.html_safe) : usm.subject, user_system_messages_path(User.current), :id => "content_link_#{usm.id}", :onmouseover =>"message_titile_show($(this),event);", :onmouseout => "message_titile_hide($(this));" diff --git a/app/views/users/user_system_messages.html.erb b/app/views/users/user_system_messages.html.erb index 7bfb37dcd..cf0130547 100644 --- a/app/views/users/user_system_messages.html.erb +++ b/app/views/users/user_system_messages.html.erb @@ -39,7 +39,7 @@
    - Trustie平台 发布了系统消息: + Trustie平台 发布了系统消息: <%= system_message.subject %>