Patch #5591 ยป calendar_refactor.patch
| app/views/issues/_sidebar.rhtml (working copy) | ||
|---|---|---|
|
<%= call_hook(:view_issues_sidebar_issues_bottom) %>
|
||
|
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
|
||
|
<%= link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) %><br />
|
||
|
<%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />
|
||
|
<% end %>
|
||
|
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
|
||
|
<%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br />
|
||