Project

General

Profile

Feature #4603 ยป new_planning_breadcrumbs-r3332.patch

Mischa The Evil, 2010-01-19 01:05

View differences:

app/helpers/issues_helper.rb (working copy)
"<strong>#{@cached_label_priority}</strong>: #{issue.priority.name}"
end
def render_planning_breadcrumb
links = []
links << link_to(l(:label_project_all), {:project_id => nil})
links << link_to(h(@project), {:project_id => @project}) if @project
breadcrumb links
end
def render_custom_fields_rows(issue)
return if issue.custom_field_values.empty?
ordered_values = []
app/views/issues/calendar.rhtml (working copy)
<h2><%= l(:label_calendar) %></h2>
<%= render_planning_breadcrumb %>
<% form_tag({}, :id => 'query_form') do %>
<fieldset id="filters" class="collapsible">
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
app/views/issues/gantt.rhtml (working copy)
<h2><%= l(:label_gantt) %></h2>
<%= render_planning_breadcrumb %>
<% form_tag(params.merge(:month => nil, :year => nil, :months => nil), :id => 'query_form') do %>
<fieldset id="filters" class="collapsible">
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
    (1-1/1)