清理数据

This commit is contained in:
huang 2015-09-02 14:21:50 +08:00
parent 487881bb92
commit fcdf9b3fc1
1 changed files with 1 additions and 23 deletions

View File

@ -216,16 +216,8 @@
<%=link_to ma.journals_for_message.user, user_path(ma.journals_for_message.user), :class => "newsBlue homepageNewsPublisher" %>
<span class="<%= ma.viewed == 0 ? "homepageNewsTypeNotRead fl":"homepageNewsType fl" %>"><%= ma.journals_for_message.reply_id == 0 ? "给你留言了:" : "回复了你的留言:" %></span>
</li>
<li class="homepageNewsContent fl"><a href="javascript:void(0);" class="newsGrey">
<%= link_to ma.journals_for_message.notes.html_safe, feedback_path(ma.journals_for_message.jour_id), :class =>"#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}",
:title => "#{ma.journals_for_message.notes}",
:onmouseover =>"message_titile_show('message_title')",
:onmouseout => "message_titile_hide('message_title')" %></a>
<div id="message_title" style="display: none" style="margin-top: 0px;">
<%= ma.journals_for_message.notes.html_safe %>
</div>
<%= link_to ma.journals_for_message.notes.html_safe, feedback_path(ma.journals_for_message.jour_id), :class =>"#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}", :title => "#{ma.journals_for_message.notes}" %></a>
</li>
<li class="homepageNewsTime fl"><%= time_tag(ma.journals_for_message.created_on).html_safe %> </li>
@ -248,20 +240,6 @@
<script>
function message_titile_show(message_title)
{
document.getElementById(message_title).style.display="block";
}
function message_titile_hide(message_title)
{
document.getElementById(message_title).style.display="none";
}
</script>