|
|
@ -23,10 +23,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
|
|
<% html_title(t(:label_cost_object_plural)) %> |
|
|
|
<% html_title(t(:label_cost_object_plural)) %> |
|
|
|
<%= toolbar title: t(:label_cost_object_plural) do %> |
|
|
|
<%= toolbar title: t(:label_cost_object_plural) do %> |
|
|
|
<% if authorize_for(:cost_objects, :new) %> |
|
|
|
<% if authorize_for(:cost_objects, :new) %> |
|
|
|
<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"> |
|
|
|
<li class="toolbar-item"> |
|
|
|
<%= op_icon('button--icon icon-add') %> |
|
|
|
<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"> |
|
|
|
<span class="button--text"><%= t(:label_cost_object) %></span> |
|
|
|
<%= op_icon('button--icon icon-add') %> |
|
|
|
</a> |
|
|
|
<span class="button--text"><%= t(:label_cost_object) %></span> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|