annotate .svn/pristine/0f/0f9b26db420557a0a5b8bf781aba4ca50d51d3d0.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents e248c7af89ec
children
rev   line source
Chris@1494 1 <!DOCTYPE html>
Chris@1494 2 <html lang="<%= current_language %>">
Chris@1494 3 <head>
Chris@1494 4 <meta charset="utf-8" />
Chris@1494 5 <title><%=h html_title %></title>
Chris@1494 6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
Chris@1494 7 <meta name="keywords" content="issue,bug,tracker" />
Chris@1494 8 <%= csrf_meta_tag %>
Chris@1494 9 <%= favicon %>
Chris@1494 10 <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
Chris@1494 11 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
Chris@1494 12 <%= javascript_heads %>
Chris@1494 13 <%= heads_for_theme %>
Chris@1494 14 <%= call_hook :view_layouts_base_html_head %>
Chris@1494 15 <!-- page specific tags -->
Chris@1494 16 <%= yield :header_tags -%>
Chris@1494 17 </head>
Chris@1494 18 <body class="<%=h body_css_classes %>">
Chris@1494 19 <div id="wrapper">
Chris@1494 20 <div id="wrapper2">
Chris@1494 21 <div id="wrapper3">
Chris@1494 22 <div id="top-menu">
Chris@1494 23 <div id="account">
Chris@1494 24 <%= render_menu :account_menu -%>
Chris@1494 25 </div>
Chris@1494 26 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
Chris@1494 27 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
Chris@1494 28 </div>
Chris@1494 29
Chris@1494 30 <div id="header">
Chris@1494 31 <% if User.current.logged? || !Setting.login_required? %>
Chris@1494 32 <div id="quick-search">
Chris@1494 33 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
Chris@1494 34 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
Chris@1494 35 <label for='q'>
Chris@1494 36 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
Chris@1494 37 </label>
Chris@1494 38 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
Chris@1494 39 <% end %>
Chris@1494 40 <%= render_project_jump_box %>
Chris@1494 41 </div>
Chris@1494 42 <% end %>
Chris@1494 43
Chris@1494 44 <h1><%= page_header_title %></h1>
Chris@1494 45
Chris@1494 46 <% if display_main_menu?(@project) %>
Chris@1494 47 <div id="main-menu">
Chris@1494 48 <%= render_main_menu(@project) %>
Chris@1494 49 </div>
Chris@1494 50 <% end %>
Chris@1494 51 </div>
Chris@1494 52
Chris@1494 53 <div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
Chris@1494 54 <div id="sidebar">
Chris@1494 55 <%= yield :sidebar %>
Chris@1494 56 <%= view_layouts_base_sidebar_hook_response %>
Chris@1494 57 </div>
Chris@1494 58
Chris@1494 59 <div id="content">
Chris@1494 60 <%= render_flash_messages %>
Chris@1494 61 <%= yield %>
Chris@1494 62 <%= call_hook :view_layouts_base_content %>
Chris@1494 63 <div style="clear:both;"></div>
Chris@1494 64 </div>
Chris@1494 65 </div>
Chris@1494 66 </div>
Chris@1494 67
Chris@1494 68 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
Chris@1494 69 <div id="ajax-modal" style="display:none;"></div>
Chris@1494 70
Chris@1494 71 <div id="footer">
Chris@1494 72 <div class="bgl"><div class="bgr">
Chris@1494 73 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2014 Jean-Philippe Lang
Chris@1494 74 </div></div>
Chris@1494 75 </div>
Chris@1494 76 </div>
Chris@1494 77 </div>
Chris@1494 78 <%= call_hook :view_layouts_base_body_bottom %>
Chris@1494 79 </body>
Chris@1494 80 </html>