<%= content_tag('div', flash[:error], :class => 'error') if flash[:error] %>
<%= content_tag('div', flash[:notice], :class => 'notice') if flash[:notice] %>
<%= yield %>
-
<% Redmine::MenuManager.allowed_items(:project_menu, User.current, @project).each do |item| %>
<% unless item.condition && !item.condition.call(@project) %>
- <%= link_to l(item.name), {item.param => @project}.merge(item.url) %> <% end %> <% end if @project && !@project.new_record? %>