<%
   controller.java_facade.getCoreComponentByClassname('org.sonar.server.ui.PageDecorations').get().each do |decoration|
     begin
%>
    <%= render :inline => decoration.getTemplate() -%>
  <%
     rescue => error
       logger.error(error)
     end
   end
  %>
<%= render :partial => 'layouts/head' unless params[:hd]=='false' %>
<% if params[:layout]=='false' %>
  <%= render :partial => 'layouts/nolayout' %>
<% else %>
  <%= render :partial => 'layouts/layout' %>
<% end %>
<%= render :partial => 'layouts/navbar' %>
<%= render :partial => 'layouts/footer' unless params[:hd]=='false' %>
