2012-07-28 20:38:39 +04:00
|
|
|
<!DOCTYPE html>
|
2013-06-10 05:41:30 +04:00
|
|
|
<html lang="<%= current_language %>">
|
2007-03-12 20:59:02 +03:00
|
|
|
<head>
|
2012-07-28 20:38:39 +04:00
|
|
|
<meta charset="utf-8" />
|
2009-12-13 17:55:17 +03:00
|
|
|
<title><%=h html_title %></title>
|
2007-08-30 02:27:43 +04:00
|
|
|
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
2007-03-12 20:59:02 +03:00
|
|
|
<meta name="keywords" content="issue,bug,tracker" />
|
2011-03-15 00:31:02 +03:00
|
|
|
<%= csrf_meta_tag %>
|
2010-07-29 18:58:33 +04:00
|
|
|
<%= favicon %>
|
2012-12-26 15:47:51 +04:00
|
|
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
|
2010-08-19 20:57:44 +04:00
|
|
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
2011-02-21 12:53:29 +03:00
|
|
|
<%= javascript_heads %>
|
2010-12-23 00:37:07 +03:00
|
|
|
<%= heads_for_theme %>
|
2008-09-05 14:31:06 +04:00
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
|
|
|
<!-- page specific tags -->
|
|
|
|
<%= yield :header_tags -%>
|
2007-03-12 20:59:02 +03:00
|
|
|
</head>
|
2011-02-28 19:44:02 +03:00
|
|
|
<body class="<%=h body_css_classes %>">
|
2008-01-06 20:28:20 +03:00
|
|
|
<div id="wrapper">
|
2010-02-14 16:07:51 +03:00
|
|
|
<div id="wrapper2">
|
2012-11-08 22:26:48 +04:00
|
|
|
<div id="wrapper3">
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="top-menu">
|
|
|
|
<div id="account">
|
2008-02-12 20:58:46 +03:00
|
|
|
<%= render_menu :account_menu -%>
|
2007-04-30 12:52:39 +04:00
|
|
|
</div>
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
|
2011-03-04 18:14:24 +03:00
|
|
|
<%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
2011-08-22 17:32:06 +04:00
|
|
|
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="header">
|
2011-03-04 18:14:24 +03:00
|
|
|
<% if User.current.logged? || !Setting.login_required? %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="quick-search">
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
|
2009-10-21 21:07:18 +04:00
|
|
|
<%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
|
2011-10-29 05:15:37 +04:00
|
|
|
<label for='q'>
|
|
|
|
<%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
|
|
|
|
</label>
|
2007-10-05 22:05:41 +04:00
|
|
|
<%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<% end %>
|
2009-01-24 14:31:15 +03:00
|
|
|
<%= render_project_jump_box %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</div>
|
2011-03-04 18:14:24 +03:00
|
|
|
<% end %>
|
2011-08-22 17:32:06 +04:00
|
|
|
|
2009-02-20 21:34:57 +03:00
|
|
|
<h1><%= page_header_title %></h1>
|
2011-08-22 17:32:06 +04:00
|
|
|
|
2010-03-04 09:01:05 +03:00
|
|
|
<% if display_main_menu?(@project) %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="main-menu">
|
2008-01-19 14:53:43 +03:00
|
|
|
<%= render_main_menu(@project) %>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
2010-03-04 09:01:05 +03:00
|
|
|
<% end %>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
2007-04-27 23:32:57 +04:00
|
|
|
|
2012-08-26 13:25:25 +04:00
|
|
|
<div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
|
2011-08-22 17:32:06 +04:00
|
|
|
<div id="sidebar">
|
2007-09-22 17:17:49 +04:00
|
|
|
<%= yield :sidebar %>
|
2012-05-01 14:19:06 +04:00
|
|
|
<%= view_layouts_base_sidebar_hook_response %>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
2011-08-22 17:32:06 +04:00
|
|
|
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="content">
|
2011-09-17 15:13:48 +04:00
|
|
|
<%= render_flash_messages %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<%= yield %>
|
2009-02-10 04:24:32 +03:00
|
|
|
<%= call_hook :view_layouts_base_content %>
|
2011-09-17 15:13:48 +04:00
|
|
|
<div style="clear:both;"></div>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-11-08 22:26:48 +04:00
|
|
|
</div>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
2012-01-09 22:37:16 +04:00
|
|
|
<div id="ajax-modal" style="display:none;"></div>
|
2011-09-17 16:06:46 +04:00
|
|
|
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="footer">
|
2010-02-14 16:07:51 +03:00
|
|
|
<div class="bgl"><div class="bgr">
|
2013-01-12 13:29:31 +04:00
|
|
|
Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2013 Jean-Philippe Lang
|
2010-02-14 16:07:51 +03:00
|
|
|
</div></div>
|
|
|
|
</div>
|
2007-03-12 20:59:02 +03:00
|
|
|
</div>
|
2008-01-06 20:28:20 +03:00
|
|
|
</div>
|
2008-09-30 09:18:50 +04:00
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</body>
|
2007-08-02 21:42:20 +04:00
|
|
|
</html>
|