##// END OF EJS Templates
Removed invalid html5 meta (Rails sets an equivalent response header natively) (#10128)....
Jean-Philippe Lang -
r9930:45d976309096
parent child
Show More
@@ -1,85 +1,84
1 <!DOCTYPE html>
1 <!DOCTYPE html>
2 <html lang="en">
2 <html lang="en">
3 <head>
3 <head>
4 <meta charset="utf-8" />
4 <meta charset="utf-8" />
5 <title><%=h html_title %></title>
5 <title><%=h html_title %></title>
6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
7 <meta name="keywords" content="issue,bug,tracker" />
7 <meta name="keywords" content="issue,bug,tracker" />
8 <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
9 <%= csrf_meta_tag %>
8 <%= csrf_meta_tag %>
10 <%= favicon %>
9 <%= favicon %>
11 <%= stylesheet_link_tag 'jquery/jquery-ui-1.8.21', 'application', :media => 'all' %>
10 <%= stylesheet_link_tag 'jquery/jquery-ui-1.8.21', 'application', :media => 'all' %>
12 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
11 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
13 <%= javascript_heads %>
12 <%= javascript_heads %>
14 <%= heads_for_theme %>
13 <%= heads_for_theme %>
15 <!--[if IE 6]>
14 <!--[if IE 6]>
16 <style type="text/css">
15 <style type="text/css">
17 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
16 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
18 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
17 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
19 </style>
18 </style>
20 <![endif]-->
19 <![endif]-->
21 <%= call_hook :view_layouts_base_html_head %>
20 <%= call_hook :view_layouts_base_html_head %>
22 <!-- page specific tags -->
21 <!-- page specific tags -->
23 <%= yield :header_tags -%>
22 <%= yield :header_tags -%>
24 </head>
23 </head>
25 <body class="<%=h body_css_classes %>">
24 <body class="<%=h body_css_classes %>">
26 <div id="wrapper">
25 <div id="wrapper">
27 <div id="wrapper2">
26 <div id="wrapper2">
28 <div id="top-menu">
27 <div id="top-menu">
29 <div id="account">
28 <div id="account">
30 <%= render_menu :account_menu -%>
29 <%= render_menu :account_menu -%>
31 </div>
30 </div>
32 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
31 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
33 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
32 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
34 </div>
33 </div>
35
34
36 <div id="header">
35 <div id="header">
37 <% if User.current.logged? || !Setting.login_required? %>
36 <% if User.current.logged? || !Setting.login_required? %>
38 <div id="quick-search">
37 <div id="quick-search">
39 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
38 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
40 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
39 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
41 <label for='q'>
40 <label for='q'>
42 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
41 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
43 </label>
42 </label>
44 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
43 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
45 <% end %>
44 <% end %>
46 <%= render_project_jump_box %>
45 <%= render_project_jump_box %>
47 </div>
46 </div>
48 <% end %>
47 <% end %>
49
48
50 <h1><%= page_header_title %></h1>
49 <h1><%= page_header_title %></h1>
51
50
52 <% if display_main_menu?(@project) %>
51 <% if display_main_menu?(@project) %>
53 <div id="main-menu">
52 <div id="main-menu">
54 <%= render_main_menu(@project) %>
53 <%= render_main_menu(@project) %>
55 </div>
54 </div>
56 <% end %>
55 <% end %>
57 </div>
56 </div>
58
57
59 <%= tag('div', {:id => 'main', :class => (sidebar_content? ? '' : 'nosidebar')}, true) %>
58 <%= tag('div', {:id => 'main', :class => (sidebar_content? ? '' : 'nosidebar')}, true) %>
60 <div id="sidebar">
59 <div id="sidebar">
61 <%= yield :sidebar %>
60 <%= yield :sidebar %>
62 <%= view_layouts_base_sidebar_hook_response %>
61 <%= view_layouts_base_sidebar_hook_response %>
63 </div>
62 </div>
64
63
65 <div id="content">
64 <div id="content">
66 <%= render_flash_messages %>
65 <%= render_flash_messages %>
67 <%= yield %>
66 <%= yield %>
68 <%= call_hook :view_layouts_base_content %>
67 <%= call_hook :view_layouts_base_content %>
69 <div style="clear:both;"></div>
68 <div style="clear:both;"></div>
70 </div>
69 </div>
71 </div>
70 </div>
72
71
73 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
72 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
74 <div id="ajax-modal" style="display:none;"></div>
73 <div id="ajax-modal" style="display:none;"></div>
75
74
76 <div id="footer">
75 <div id="footer">
77 <div class="bgl"><div class="bgr">
76 <div class="bgl"><div class="bgr">
78 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2012 Jean-Philippe Lang
77 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2012 Jean-Philippe Lang
79 </div></div>
78 </div></div>
80 </div>
79 </div>
81 </div>
80 </div>
82 </div>
81 </div>
83 <%= call_hook :view_layouts_base_body_bottom %>
82 <%= call_hook :view_layouts_base_body_bottom %>
84 </body>
83 </body>
85 </html>
84 </html>
General Comments 0
You need to be logged in to leave comments. Login now