<%= csrf_meta_tag %> <%= favicon %> <%= stylesheet_link_tag 'jquery/jquery-ui-1.13.2', 'tribute-5.1.3', 'application', 'responsive', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_heads %> <%= heads_for_theme %> <%= heads_for_auto_complete(@project) %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%> <%= call_hook :view_layouts_base_body_top %>
<% if User.current.logged? || !Setting.login_required? %> <% end %> <% if User.current.logged? %>
<% if Setting.gravatar_enabled? %> <%= link_to(avatar(User.current, :size => "80"), user_path(User.current)) %> <% end %> <%= link_to_user(User.current, :format => :username) %>
<% end %> <% if display_main_menu?(@project) %>

<%= l(:label_project) %>

<% end %>

<%= l(:label_general) %>

<%= l(:label_profile) %>

<%= render_menu :account_menu -%>
<%= 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? -%>
<%= call_hook :view_layouts_base_body_bottom %>