Merge branch 'dev_hjq' of http://repository.trustie.net/xianbo/trustie2 into dev_hjq
This commit is contained in:
commit
64bce0261d
|
@ -42,29 +42,33 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%# 系统消息 %>
|
<%# 系统消息 %>
|
||||||
<% @user_system_messages.each do |usm| %>
|
<% if params[:type] != 'system_message' %>
|
||||||
<ul class="homepageNewsList fl">
|
<% @user_system_messages.each do |usm| %>
|
||||||
<li class="homepageNewsPortrait fl">
|
<ul class="homepageNewsList fl">
|
||||||
<a href="javascript:void(0);">
|
<li class="homepageNewsPortrait fl">
|
||||||
<div class="navHomepageLogo fl">
|
<a href="javascript:void(0);">
|
||||||
<%=image_tag("/images/logo.png",width:"30px", height: "30px",class: "mt3") %>
|
<div class="navHomepageLogo fl">
|
||||||
</div>
|
<%= image_tag("/images/logo.png", width: "30px", height: "30px", class: "mt3") %>
|
||||||
</a>
|
</div>
|
||||||
</li>
|
</a>
|
||||||
<li class="homepageNewsPubType fl"><span class="newsBlue homepageNewsPublisher" >Trustie平台</span><span class="homepageNewsType fl">发布新消息:</span></li>
|
</li>
|
||||||
<li class="homepageNewsContent fl">
|
<li class="homepageNewsPubType fl">
|
||||||
<%= link_to usm.content.html_safe, {:controller => 'system_messages', :action => 'index'},
|
<span class="newsBlue homepageNewsPublisher">Trustie平台</span><span class="homepageNewsType fl">发布新消息:</span>
|
||||||
:class =>"newsGrey",
|
</li>
|
||||||
:onmouseover =>"message_titile_show($(this),event);",
|
<li class="homepageNewsContent fl">
|
||||||
:onmouseout => "message_titile_hide($(this));"
|
<%= link_to usm.content.html_safe, {:controller => 'system_messages', :action => 'index'},
|
||||||
%>
|
:class => "newsGrey",
|
||||||
</li>
|
:onmouseover => "message_titile_show($(this),event);",
|
||||||
<div style="display:none;" class="message_title">
|
:onmouseout => "message_titile_hide($(this));"
|
||||||
<%= usm.content.html_safe%>
|
%>
|
||||||
</div>
|
</li>
|
||||||
<li class="homepageNewsTime fl"><%= time_tag(usm.created_at).html_safe %> </li>
|
<div style="display:none;" class="message_title">
|
||||||
</ul>
|
<%= usm.content.html_safe %>
|
||||||
<% end %>
|
</div>
|
||||||
|
<li class="homepageNewsTime fl"><%= time_tag(usm.created_at).html_safe %> </li>
|
||||||
|
</ul>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
<%# 课程消息 %>
|
<%# 课程消息 %>
|
||||||
<% unless @message_alls.nil? %>
|
<% unless @message_alls.nil? %>
|
||||||
<% @message_alls.each do |ma| %>
|
<% @message_alls.each do |ma| %>
|
||||||
|
@ -347,7 +351,7 @@
|
||||||
<li class="homepageNewsPubType fl"><span class="newsBlue homepageNewsPublisher" >Trustie平台</span><span class="homepageNewsType fl">发布新消息:</span></li>
|
<li class="homepageNewsPubType fl"><span class="newsBlue homepageNewsPublisher" >Trustie平台</span><span class="homepageNewsType fl">发布新消息:</span></li>
|
||||||
<li class="homepageNewsContent fl">
|
<li class="homepageNewsContent fl">
|
||||||
<%= link_to ma.content.html_safe, {:controller => 'system_messages', :action => 'index'},
|
<%= link_to ma.content.html_safe, {:controller => 'system_messages', :action => 'index'},
|
||||||
:class =>"newsGrey",
|
:class => "#{params[:type]=="unviewed" ? "newsBlack" : "newsRed"}",
|
||||||
:onmouseover =>"message_titile_show($(this),event);",
|
:onmouseover =>"message_titile_show($(this),event);",
|
||||||
:onmouseout => "message_titile_hide($(this));"
|
:onmouseout => "message_titile_hide($(this));"
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -522,6 +522,8 @@ a.homepageWhite {color:#ffffff;}
|
||||||
a.homepageWhite:hover {color:#a1ebff}
|
a.homepageWhite:hover {color:#a1ebff}
|
||||||
a.newsGrey {color:#4b4b4b;}
|
a.newsGrey {color:#4b4b4b;}
|
||||||
a.newsGrey:hover {color:#000000;}
|
a.newsGrey:hover {color:#000000;}
|
||||||
|
a.newsRed {color:red;}
|
||||||
|
a.newsRed:hovor {color:#888888;}
|
||||||
a.replyGrey {color:#888888; display:inline-block;}
|
a.replyGrey {color:#888888; display:inline-block;}
|
||||||
a.replyGrey:hover {color:#4b4b4b;}
|
a.replyGrey:hover {color:#4b4b4b;}
|
||||||
a.replyGrey1 {color:#888888;}
|
a.replyGrey1 {color:#888888;}
|
||||||
|
|
Loading…
Reference in New Issue