comparison .svn/pristine/1a/1ad12962c58a76f3a2222abf367e284e64a3d8e1.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

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