socialforge/app/views/layouts/_base_header.html.erb

12 lines
744 B
Plaintext
Raw Normal View History

<div id="top-menu" style="background-color: #15bccf;height:40px;margin-top: 10px;margin-bottom: 10px;">
2013-08-12 10:25:23 +08:00
<div class="welcome_logo">
<%=link_to image_tag("/images/logo.png",weight:"36px", height: "36px"), home_path %>
2013-08-11 15:27:34 +08:00
</div>
2013-08-01 10:33:49 +08:00
<div id="account">
<%= render_menu :account_menu -%>
</div>
2013-08-27 16:36:09 +08:00
<%= content_tag('div', "#{link_to(l(:label_layouts_feedback)+'(' + User.current.count_new_jour.to_s + ')', feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %>
2013-11-04 15:20:22 +08:00
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
<%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
</div>