<%= csrf_meta_tag if defined? csrf_meta_tag %> <%= favicon %> <% if (Redmine::VERSION::MAJOR == 2 && Redmine::VERSION::MINOR >= 1) || Redmine::VERSION::MAJOR > 2 %> <% Dir.glob(File.join(Rails.root, "public/stylesheets/jquery/jquery-ui-*.css")).each do |file| %> <%= stylesheet_link_tag 'jquery/' + File.basename(file, '.css'), 'application', :media => 'all' %> <% end %> <% else %> <%= stylesheet_link_tag 'application', :media => 'all' %> <% end %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <% if defined? javascript_heads %> <%= javascript_heads %> <% else %> <%= javascript_include_tag :defaults %> <% end %> <% if defined? heads_for_theme %> <%= heads_for_theme %> <% end %> <% wiki_heads = heads_for_wiki_formatter %> <%= wiki_heads if wiki_heads.is_a?(String) %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%>
<%= 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? -%>
<% sidebar_has_content = (defined? sidebar_content?) ? sidebar_content? : has_content?(:sidebar) %>
<%= call_hook :view_layouts_base_body_bottom %>