|
|
|
@ -43,7 +43,10 @@ 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' do %> |
|
|
|
|
<%= 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 %> |
|
|
|
|
<i class="button--icon icon-add"></i> |
|
|
|
|
<span class="button--text"><%= l('activerecord.models.work_package') %></span> |
|
|
|
|
<% end %> |
|
|
|
|