Mercurial > hg > soundsoftware-site
diff app/views/layouts/base.rhtml @ 115:3e75f003034a luisf
Bug #60:
+ the "jump to project" input box is now below the search box
+ the project ancestors are displayed in a separate line
author | luisf |
---|---|
date | Wed, 12 Jan 2011 17:06:18 +0000 |
parents | 48e89e0a0b7f |
children | 6d10c3b6fe17 |
line wrap: on
line diff
--- a/app/views/layouts/base.rhtml Fri Dec 17 13:02:30 2010 +0000 +++ b/app/views/layouts/base.rhtml Wed Jan 12 17:06:18 2011 +0000 @@ -32,17 +32,32 @@ </div> <%= tag('div', {:id => 'header', :class => (display_main_menu?(@project) ? 'header-project' : 'header-general')}, true) %> - <div id="quick-search"> - <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> - <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> - <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: - <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> - <% end %> + + + <div id="project-search-jump"> + <div id="quick-search"> + <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> + <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> + <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: + <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> + <% end %> + </div> + + <div id="project-jump-box"> <%= render_project_jump_box %> + </div> </div> + + <% unless page_header_title[1].empty? %> + <h3 id="project-ancestors-title"><%= page_header_title[1] %></h3> + <% end %> + + <h1 id="project-title" + <% unless page_header_title[1].empty? %> + style="margin-top: 0px; " + <% end %> + ><%= page_header_title[0] %></h1> - <h1><%= page_header_title %></h1> - <% if display_main_menu?(@project) %> <div id="main-menu"> <%= render_main_menu(@project) %>