remove "add work package" button

Because it is not angular based and as such lacks the ability to select the type before opening the form.
pull/6827/head
Jens Ulferts 7 years ago
parent 0a6474164a
commit e06bd36441
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 7
      app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb

@ -43,13 +43,6 @@ See doc/COPYRIGHT.md for more details.
<% if User.current.allowed_to?(:view_gantt, project, :global => true) %>
<%= link_to(l(:label_gantt), {:controller => '/gantts', :action => 'show', :project_id => project}, :class => 'button -highlight') %>
<% end %>
<%= link_to new_project_work_packages_path(project),
{ class: 'button -alt-highlight',
title: t(:label_keyboard_shortcut_new_work_package),
aria: { label: t(:label_keyboard_shortcut_new_work_package) }} do %>
<%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= l('activerecord.models.work_package') %></span>
<% end %>
</p>
</div>
<% end %>

Loading…
Cancel
Save