2015-10-08 16:10:33 +08:00
|
|
|
<% if ma.class == SystemMessage %>
|
|
|
|
<%# @user_system_messages.each do |usm| %>
|
|
|
|
<ul class="homepageNewsList fl">
|
|
|
|
<li class="homepageNewsPortrait fl">
|
2015-10-29 09:23:04 +08:00
|
|
|
<a href="javascript:void(0);"><div class="navHomepageLogo fl"><%= image_tag("/images/trustie_logo1.png", width: "30px", height: "30px", class: "mt3") %></div></a>
|
2015-10-08 16:10:33 +08:00
|
|
|
</li>
|
|
|
|
<li class="homepageNewsPubType fl">
|
|
|
|
<span class="newsBlue homepageNewsPublisher">Trustie平台</span><span class="homepageNewsType fl">发布新消息:</span>
|
|
|
|
</li>
|
|
|
|
<span style="color: red;float: left">【系统消息】</span>
|
|
|
|
<li class="homepageSystenMessageContent fl">
|
|
|
|
|
2016-07-14 15:23:16 +08:00
|
|
|
<%= link_to ma.subject.blank? ? (ma.content.nil? ? ma.description.html_safe : ma.content.html_safe) : ma.subject, user_system_messages_path(User.current, :anchor => "position_#{ma.id}"),
|
2016-05-16 16:16:24 +08:00
|
|
|
:id => "content_link_#{ma.id}", :target => '_blank' %>
|
2016-03-17 15:09:08 +08:00
|
|
|
<!--:onmouseover =>"message_titile_show($(this),event);",-->
|
|
|
|
<!--:onmouseout => "message_titile_hide($(this));"-->
|
2015-10-08 16:10:33 +08:00
|
|
|
</li>
|
|
|
|
<li class="homepageNewsTime fl"><%= time_tag(ma.created_at).html_safe %> </li>
|
|
|
|
</ul>
|
|
|
|
<%# end %>
|
|
|
|
<% end %>
|