Project

General

Profile

Actions

Defect #2392

closed

"Planning" is not displayed in the links of sidebar of "Issues"

Added by ko simo almost 16 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-12-24
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Thank you for developing such a wonderful tool.

I wanted to have the link of "Planning" displayed in "Issues" by linking on side-bar as well as "Overview", and the tag of "Planning_links" existed when I confirmed "App/views/issues/_sidebar.rhtml".

I deleted the 9-17th line, and inserted the following in the first line.
("Planning" was moved most up because of thinking that that is more natural. )

<% planning_links = []
  planning_links << link_to_if_authorized(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project)
  planning_links << link_to_if_authorized(l(:label_gantt), :controller => 'issues', :action => 'gantt', :project_id => @project)
  planning_links.compact!
  unless planning_links.empty? %>
<h3><%= l(:label_planning) %></h3>
<%= planning_links.join(' | ') %>
<%= call_hook(:view_issues_sidebar_planning_bottom) %>
<% end %>

A part of of this to quote from the 59-66th line of "App/views/projects/show.rhtml", and is putting of the hand.
Though it might be not correct.
Especially, part of "Aaa""call_hook...".

Redmine version 0.8-stable r2146
Ruby version 1.8.6 (i486-linux)
RubyGems version 1.1.1
Rails version 2.1.1

Actions

Also available in: Atom PDF