|
|
|
@ -40,12 +40,13 @@ See doc/COPYRIGHT.md for more details. |
|
|
|
|
</ul> |
|
|
|
|
<p> |
|
|
|
|
<%= link_to l(:label_work_package_view_all), {:controller => '/work_packages', :action => 'index', :project_id => project}, :class => 'button -highlight' %> |
|
|
|
|
<% if User.current.allowed_to?(:view_calendar, project, :global => true) %> |
|
|
|
|
<%= link_to(l(:label_calendar), {:controller => '/work_packages/calendars', :action => 'index', :project_id => project}, :class => 'button -highlight') %> |
|
|
|
|
<% end %> |
|
|
|
|
<% 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 %> |
|
|
|
|
<i class="button--icon icon-add"></i> |
|
|
|
|
<span class="button--text"><%= l('activerecord.models.work_package') %></span> |
|
|
|
|
<% end %> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|