|
|
|
@ -54,17 +54,17 @@
|
|
|
|
|
<span style="color: red;float: left">【系统消息】</span><li class="homepageSystenMessageContent fl" id="content_<%= usm.id %>">
|
|
|
|
|
<li class="homepageSystenMessageContent fl">
|
|
|
|
|
|
|
|
|
|
<%= link_to usm.subject.nil? ? (usm.content.nil? ? usm.description.html_safe : usm.content.html_safe) : usm.subject, user_system_messages_path(User.current),
|
|
|
|
|
<%= link_to usm.subject.blank? ? (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));"
|
|
|
|
|
%>
|
|
|
|
|
</li>
|
|
|
|
|
<div style="display:none;" class="message_title_red system_message_style">
|
|
|
|
|
<% unless usm.subject.nil? %>
|
|
|
|
|
<% unless usm.subject.blank? %>
|
|
|
|
|
<p><strong>标题:</strong><%= usm.subject %></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if (!usm.description.nil? && usm.description != "") || (!usm.content.nil? && usm.content != "") %>
|
|
|
|
|
<% if (!usm.description.blank?) || (!usm.content.blank?) %>
|
|
|
|
|
<div class="fl"><strong>内容:</strong></div><div class="ml36"><%= usm.description.nil? ? usm.content.html_safe : usm.description.html_safe %></div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|