Merge branch 'release/7.0' into dev

pull/6827/head
Jens Ulferts 8 years ago
commit 96efa5534f
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 10
      app/views/cost_objects/index.html.erb

@ -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 %>

Loading…
Cancel
Save