diff --git a/app/views/layouts/_show_messages_list.html.erb b/app/views/layouts/_show_messages_list.html.erb index addd04815..966c04b4d 100644 --- a/app/views/layouts/_show_messages_list.html.erb +++ b/app/views/layouts/_show_messages_list.html.erb @@ -123,12 +123,14 @@ <% elsif AtMessage === ma && ma.at_valid? %> <% if ma.at_message_type == "Message" && !ma.at_message.course.nil? %> <% href = course_boards_path(ma.at_message.course,:parent_id => ma.at_message.parent_id ? ma.at_message.parent_id : ma.at_message.id, :topic_id => ma.at_message.id) %> +
  • <%=ma.author.show_name %> 提到了你:<%= ma.subject.html_safe%>
  • <% elsif ma.at_message_type == "Message" && !ma.at_message.project.nil? %> - <% href = project_boards_path(ma.at_message.project,:parent_id => ma.at_message.parent_id ? ma.at_message.parent_id : ma.at_message.id, :topic_id => ma.at_message.id) %> + <% href = project_boards_path(ma.at_message.project,:parent_id => ma.at_message.parent_id ? ma.at_message.parent_id : ma.at_message.id, :topic_id => ma.at_message.id) %> +
  • <%=ma.author.show_name %> 提到了你:<%= ma.subject.html_safe%>
  • <% else %> - <% href = ma.url %> + <% content = ''+ma.author.show_name+' 提到了你:'+ma.subject.html_safe %> +
  • <%=link_to content.html_safe, ma.url, :title => ma.author.show_name+' 提到了你:'+ma.subject.html_safe, :target => '_blank' %>
  • <% end %> -
  • <%=ma.author.show_name %> 提到了你:<%= ma.subject.html_safe%>
  • <% end %> <% end %>