<%= link_to_if_authorized l(:button_add_deliverable), {:controller => 'deliverables', :action => 'new', :project_id => @project }, :class => 'icon icon-add' %>

<%=l(:label_deliverable_plural)%>

<% html_title(l(:label_deliverable_plural)) %> <% if @deliverables.empty? %>

<%= l(:label_no_data) %>

<% else %> <%= render :partial => 'list', :locals => {:deliverables => @deliverables} %>

<%= pagination_links_full @deliverable_pages, @deliverable_count %>

<% end %>

<%= l(:label_export_to) %> <%= link_to 'CSV', {:format => 'csv'}, :class => 'csv' %>

<% content_for :sidebar do %> <%= render :partial => 'deliverables/sidebar' %> <% end %> <% content_for :header_tags do %> <%= javascript_include_tag 'context_menu' %> <%= stylesheet_link_tag 'context_menu' %> <%= stylesheet_link_tag 'scm' %> <%= stylesheet_link_tag 'costs', :plugin => 'redmine_costs' %> <% end %> <% html_title l(:label_deliverable_plural) %> <%= javascript_tag "new ContextMenu('#{url_for(:controller => 'deliverables', :action => 'context_menu')}')" %>