diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/calendars/show.html.erb (renamed from app/views/issues/calendar.rhtml) | 4 | ||||
-rw-r--r-- | app/views/projects/show.rhtml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/issues/calendar.rhtml b/app/views/calendars/show.html.erb index 1df5aa3bb..7b5abd77b 100644 --- a/app/views/issues/calendar.rhtml +++ b/app/views/calendars/show.html.erb @@ -11,11 +11,11 @@ <p style="float:right;"> <%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")), {:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }}, - {:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))} + {:href => url_for(:action => 'show', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))} %> | <%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'), {:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }}, - {:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))} + {:href => url_for(:action => 'show', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))} %> </p> diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index 909c876fc..fa9771521 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -39,7 +39,7 @@ <p> <%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 %> <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %> - | <%= link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) %> + | <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %> <% end %> <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> | <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %> |