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