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

7 lines
367 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<div id="top-menu" style="background-color: #FFFFFF">
<div id="account">
<%= render_menu :account_menu -%>
</div>
<%= 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>