|
|
|
@ -7,9 +7,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
|
|
|
|
|
<%= content_tag('div', "#{link_to(image_tag('/images/mes.png'), feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %>
|
|
|
|
|
<div align="center" style="float: right; margin-right: -32px; margin-top: 5px; background: #ed8924; width: 13px">
|
|
|
|
|
<%= User.current.count_new_jour%>
|
|
|
|
|
<div style="float: right; margin-top: 13px;">
|
|
|
|
|
<%= content_tag('div', "#{link_to(image_tag('/images/mes.png'), feedback_path(User.current))}".html_safe, :title => "留言") if User.current.logged? %>
|
|
|
|
|
</div>
|
|
|
|
|
<div align="center" style="float: right; margin-right: -25px; margin-top: 6px; background: #ea7125; width: 12px;border-radius:7px; font-size: 8px; color: #fff; font-weight: bold">
|
|
|
|
|
<%= User.current.count_new_jour if User.current.logged? && User.current.count_new_jour != 0 %>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <%= content_tag('div', "#{}".html_safe, :id => 'loggedas')%> -->
|
|
|
|
|
<!-- 消息#{link_to((User.current.count_new_jour), feedback_path(User.current))} -->
|
|
|
|
|