<% selected_section = controller.class::SECTION if defined?(controller.class::SECTION) if selected_section==Navigation::SECTION_RESOURCE && !@project && !@resource selected_section = Navigation::SECTION_HOME end @project=@resource unless @project || selected_section==Navigation::SECTION_HOME period_param = "period=#{u(params[:period])}" if params[:period] %>
<%= yield :header -%>
<%= render 'layouts/breadcrumb' if @breadcrumbs || selected_section==Navigation::SECTION_RESOURCE -%>
<% if selected_section && (!@hide_sidebar) %> <% end %> <% html_id_class = '' html_id_class = "id='content' class='with_sidebar'" if selected_section html_id_class = "id='content'" if @hide_sidebar %>
> <% if @project %>

<%= h @project.name(true) %>

<% end %> <%= yield %>
<% unless params[:hd]=='false' %> <%= yield :footer %> <% end %>