|
|
|
@ -47,9 +47,6 @@ |
|
|
|
|
|
|
|
|
|
<h1 class="hidden-for-sighted"><%= l(:label_top_menu) %></h1> |
|
|
|
|
<ul id="account-nav"> |
|
|
|
|
<li> |
|
|
|
|
<%= link_to(image_tag('icon_home.png', :alt => home_menu_item.caption, :title => home_menu_item.caption), home_menu_item.url, {:class => "home"}) %> |
|
|
|
|
</li> |
|
|
|
|
<% main_top_menu_items.each do |item| %> |
|
|
|
|
<%= render_menu_node(item) %> |
|
|
|
|
<% end %> |
|
|
|
@ -74,9 +71,7 @@ |
|
|
|
|
</ul> |
|
|
|
|
</li> |
|
|
|
|
<% end %> |
|
|
|
|
<li> |
|
|
|
|
<%= link_to(image_tag('icon_help.png', :alt => help_menu_item.caption, :title => help_menu_item.caption), help_menu_item.url, {:class => "help"}) %> |
|
|
|
|
</li> |
|
|
|
|
<%= render_menu_node(help_menu_item) %> |
|
|
|
|
<li class="drop-down last-child"> |
|
|
|
|
<% unless User.current.logged? %> |
|
|
|
|
<%= link_to l(:label_login), {:controller => 'account', :action => 'login'}, :class => 'login' %> |
|
|
|
@ -104,7 +99,7 @@ |
|
|
|
|
</h1> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% main_menu = render_main_menu(@project) %> |
|
|
|
|
<% if (side_displayed = has_content?(:sidebar) || has_content?(:main_menu) || !main_menu.blank?) %> |
|
|
|
|
<% display_sidebar = true %> |
|
|
|
@ -119,7 +114,7 @@ |
|
|
|
|
<%= yield :main_menu %> |
|
|
|
|
<% if display_sidebar %> |
|
|
|
|
<!-- Sidebar --> |
|
|
|
|
<div id="sidebar"> |
|
|
|
|
<div id="sidebar"> |
|
|
|
|
<%= yield :sidebar %> |
|
|
|
|
<%= call_hook :view_layouts_base_sidebar %> |
|
|
|
|
</div> |
|
|
|
|