Project

General

Profile

Patch #5591 ยป calendar_refactor.patch

Andrew Rudenko, 2010-05-25 11:34

View differences:

app/views/issues/_sidebar.rhtml (working copy)
6 6
<%= call_hook(:view_issues_sidebar_issues_bottom) %>
7 7

  
8 8
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
9
	<%= link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) %><br />
9
	<%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />
10 10
<% end %>
11 11
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
12 12
	<%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br />
    (1-1/1)