##// END OF EJS Templates
Updates year in footer....
Jean-Philippe Lang -
r15743:9d709c0267f3
parent child
Show More
@@ -1,128 +1,128
1 <!DOCTYPE html>
1 <!DOCTYPE html>
2 <html lang="<%= current_language %>">
2 <html lang="<%= current_language %>">
3 <head>
3 <head>
4 <meta charset="utf-8" />
4 <meta charset="utf-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
6 <title><%= html_title %></title>
6 <title><%= html_title %></title>
7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8 <meta name="description" content="<%= Redmine::Info.app_name %>" />
8 <meta name="description" content="<%= Redmine::Info.app_name %>" />
9 <meta name="keywords" content="issue,bug,tracker" />
9 <meta name="keywords" content="issue,bug,tracker" />
10 <%= csrf_meta_tag %>
10 <%= csrf_meta_tag %>
11 <%= favicon %>
11 <%= favicon %>
12 <%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'application', 'responsive', :media => 'all' %>
12 <%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'application', 'responsive', :media => 'all' %>
13 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
13 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
14 <%= javascript_heads %>
14 <%= javascript_heads %>
15 <%= heads_for_theme %>
15 <%= heads_for_theme %>
16 <%= call_hook :view_layouts_base_html_head %>
16 <%= call_hook :view_layouts_base_html_head %>
17 <!-- page specific tags -->
17 <!-- page specific tags -->
18 <%= yield :header_tags -%>
18 <%= yield :header_tags -%>
19 </head>
19 </head>
20 <body class="<%= body_css_classes %>">
20 <body class="<%= body_css_classes %>">
21 <%= call_hook :view_layouts_base_body_top %>
21 <%= call_hook :view_layouts_base_body_top %>
22 <div id="wrapper">
22 <div id="wrapper">
23
23
24 <div class="flyout-menu js-flyout-menu">
24 <div class="flyout-menu js-flyout-menu">
25
25
26
26
27 <% if User.current.logged? || !Setting.login_required? %>
27 <% if User.current.logged? || !Setting.login_required? %>
28 <div class="flyout-menu__search">
28 <div class="flyout-menu__search">
29 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
29 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
30 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
30 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
31 <%= label_tag 'flyout-search', '&#9906;'.html_safe, :class => 'search-magnifier search-magnifier--flyout' %>
31 <%= label_tag 'flyout-search', '&#9906;'.html_safe, :class => 'search-magnifier search-magnifier--flyout' %>
32 <%= text_field_tag 'q', @question, :id => 'flyout-search', :class => 'small js-search-input', :placeholder => l(:label_search) %>
32 <%= text_field_tag 'q', @question, :id => 'flyout-search', :class => 'small js-search-input', :placeholder => l(:label_search) %>
33 <% end %>
33 <% end %>
34 </div>
34 </div>
35 <% end %>
35 <% end %>
36
36
37 <% if User.current.logged? %>
37 <% if User.current.logged? %>
38 <div class="flyout-menu__avatar <% if !Setting.gravatar_enabled? %>flyout-menu__avatar--no-avatar<% end %>">
38 <div class="flyout-menu__avatar <% if !Setting.gravatar_enabled? %>flyout-menu__avatar--no-avatar<% end %>">
39 <% if Setting.gravatar_enabled? %>
39 <% if Setting.gravatar_enabled? %>
40 <%= link_to(avatar(User.current, :size => "80"), user_path(User.current)) %>
40 <%= link_to(avatar(User.current, :size => "80"), user_path(User.current)) %>
41 <% end %>
41 <% end %>
42 <%= link_to_user(User.current, :format => :username) %>
42 <%= link_to_user(User.current, :format => :username) %>
43 </div>
43 </div>
44 <% end %>
44 <% end %>
45
45
46 <% if display_main_menu?(@project) %>
46 <% if display_main_menu?(@project) %>
47 <h3><%= l(:label_project) %></h3>
47 <h3><%= l(:label_project) %></h3>
48 <span class="js-project-menu"></span>
48 <span class="js-project-menu"></span>
49 <% end %>
49 <% end %>
50
50
51 <h3><%= l(:label_general) %></h3>
51 <h3><%= l(:label_general) %></h3>
52 <span class="js-general-menu"></span>
52 <span class="js-general-menu"></span>
53
53
54 <span class="js-sidebar flyout-menu__sidebar"></span>
54 <span class="js-sidebar flyout-menu__sidebar"></span>
55
55
56 <h3><%= l(:label_profile) %></h3>
56 <h3><%= l(:label_profile) %></h3>
57 <span class="js-profile-menu"></span>
57 <span class="js-profile-menu"></span>
58
58
59 </div>
59 </div>
60
60
61 <div id="wrapper2">
61 <div id="wrapper2">
62 <div id="wrapper3">
62 <div id="wrapper3">
63 <div id="top-menu">
63 <div id="top-menu">
64 <div id="account">
64 <div id="account">
65 <%= render_menu :account_menu -%>
65 <%= render_menu :account_menu -%>
66 </div>
66 </div>
67 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
67 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
68 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
68 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
69 </div>
69 </div>
70
70
71 <div id="header">
71 <div id="header">
72
72
73 <a href="#" class="mobile-toggle-button js-flyout-menu-toggle-button"></a>
73 <a href="#" class="mobile-toggle-button js-flyout-menu-toggle-button"></a>
74
74
75 <% if User.current.logged? || !Setting.login_required? %>
75 <% if User.current.logged? || !Setting.login_required? %>
76 <div id="quick-search">
76 <div id="quick-search">
77 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
77 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
78 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
78 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
79 <label for='q'>
79 <label for='q'>
80 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
80 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
81 </label>
81 </label>
82 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
82 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
83 <% end %>
83 <% end %>
84 <%= render_project_jump_box %>
84 <%= render_project_jump_box %>
85 </div>
85 </div>
86 <% end %>
86 <% end %>
87
87
88 <h1><%= page_header_title %></h1>
88 <h1><%= page_header_title %></h1>
89
89
90 <% if display_main_menu?(@project) %>
90 <% if display_main_menu?(@project) %>
91 <div id="main-menu" class="tabs">
91 <div id="main-menu" class="tabs">
92 <%= render_main_menu(@project) %>
92 <%= render_main_menu(@project) %>
93 <div class="tabs-buttons" style="display:none;">
93 <div class="tabs-buttons" style="display:none;">
94 <button class="tab-left" onclick="moveTabLeft(this); return false;"></button>
94 <button class="tab-left" onclick="moveTabLeft(this); return false;"></button>
95 <button class="tab-right" onclick="moveTabRight(this); return false;"></button>
95 <button class="tab-right" onclick="moveTabRight(this); return false;"></button>
96 </div>
96 </div>
97 </div>
97 </div>
98 <% end %>
98 <% end %>
99 </div>
99 </div>
100
100
101 <div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
101 <div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
102 <div id="sidebar">
102 <div id="sidebar">
103 <%= yield :sidebar %>
103 <%= yield :sidebar %>
104 <%= view_layouts_base_sidebar_hook_response %>
104 <%= view_layouts_base_sidebar_hook_response %>
105 </div>
105 </div>
106
106
107 <div id="content">
107 <div id="content">
108 <%= render_flash_messages %>
108 <%= render_flash_messages %>
109 <%= yield %>
109 <%= yield %>
110 <%= call_hook :view_layouts_base_content %>
110 <%= call_hook :view_layouts_base_content %>
111 <div style="clear:both;"></div>
111 <div style="clear:both;"></div>
112 </div>
112 </div>
113 </div>
113 </div>
114 </div>
114 </div>
115
115
116 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
116 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
117 <div id="ajax-modal" style="display:none;"></div>
117 <div id="ajax-modal" style="display:none;"></div>
118
118
119 <div id="footer">
119 <div id="footer">
120 <div class="bgl"><div class="bgr">
120 <div class="bgl"><div class="bgr">
121 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2016 Jean-Philippe Lang
121 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2017 Jean-Philippe Lang
122 </div></div>
122 </div></div>
123 </div>
123 </div>
124 </div>
124 </div>
125 </div>
125 </div>
126 <%= call_hook :view_layouts_base_body_bottom %>
126 <%= call_hook :view_layouts_base_body_bottom %>
127 </body>
127 </body>
128 </html>
128 </html>
General Comments 0
You need to be logged in to leave comments. Login now