kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
52 lines
1.8 KiB
52 lines
1.8 KiB
11 years ago
|
<%#-- copyright
|
||
|
OpenProject Costs Plugin
|
||
|
|
||
|
Copyright (C) 2009 - 2014 the OpenProject Foundation (OPF)
|
||
|
|
||
|
This program is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU General Public License
|
||
|
version 3.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
|
++#%>
|
||
|
|
||
12 years ago
|
<%= render :partial => 'shared/costs_header' %>
|
||
11 years ago
|
|
||
9 years ago
|
<% html_title(t(:label_cost_object_plural)) %>
|
||
|
<%= toolbar title: t(:label_cost_object_plural) do %>
|
||
9 years ago
|
<% if authorize_for(:cost_objects, :new) %>
|
||
8 years ago
|
<li class="toolbar-item">
|
||
|
<a href="<%= new_projects_cost_object_path(@project) %>" aria-label="<%= I18n.t(:button_add_cost_object) %>" id="add-budget-button" title="<%= I18n.t(:button_add_cost_object) %>" class="button -alt-highlight">
|
||
|
<%= op_icon('button--icon icon-add') %>
|
||
|
<span class="button--text"><%= t(:label_cost_object) %></span>
|
||
|
</a>
|
||
|
</li>
|
||
9 years ago
|
<% end %>
|
||
|
<% end %>
|
||
11 years ago
|
|
||
15 years ago
|
<% if @cost_objects.empty? %>
|
||
9 years ago
|
<%= no_results_box %>
|
||
15 years ago
|
<% else %>
|
||
15 years ago
|
<%= render :partial => 'list', :locals => {:cost_objects => @cost_objects} %>
|
||
12 years ago
|
<%= pagination_links_full @cost_objects %>
|
||
15 years ago
|
<% end %>
|
||
|
|
||
|
<p class="other-formats">
|
||
9 years ago
|
<%= t(:label_export_to) %>
|
||
15 years ago
|
<!--
|
||
|
<span><%= link_to 'Atom', {:query_id => @query, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
|
||
15 years ago
|
-->
|
||
15 years ago
|
<span><%= link_to 'CSV', {:format => 'csv'}, :class => 'csv' %></span>
|
||
15 years ago
|
<!--
|
||
15 years ago
|
<span><%= link_to 'PDF', {:format => 'pdf'}, :class => 'pdf' %></span>
|
||
|
-->
|
||
|
</p>
|