OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/deliverables/index.rhtml

36 lines
1.3 KiB

<div class="contextual">
<%= link_to_if_authorized l(:button_add_deliverable), {:controller => 'deliverables', :action => 'new', :project_id => @project }, :class => 'icon icon-add' %>
</div>
<h2><%=l(:label_deliverable_plural)%></h2>
<% html_title(l(:label_deliverable_plural)) %>
<% if @deliverables.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
<%= render :partial => 'list', :locals => {:deliverables => @deliverables} %>
<p class="pagination"><%= pagination_links_full @deliverable_pages, @deliverable_count %></p>
<% end %>
<p class="other-formats">
<%= l(:label_export_to) %>
<!--
<span><%= link_to 'Atom', {:query_id => @query, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
<span><%= link_to 'CSV', {:format => 'csv'}, :class => 'csv' %></span>
<span><%= link_to 'PDF', {:format => 'pdf'}, :class => 'pdf' %></span>
-->
</p>
<% content_for :sidebar do %>
<%= render :partial => 'deliverables/sidebar' %>
<% end %>
<% content_for :header_tags do %>
<%= javascript_include_tag 'context_menu' %>
<%= stylesheet_link_tag 'context_menu' %>
<% end %>
<% html_title l(:label_deliverable_plural) %>
<div id="context-menu" style="display: none;"></div>
<%= javascript_tag "new ContextMenu('#{url_for(:controller => 'deliverables', :action => 'context_menu')}')" %>