Feature #4603 ยป new_planning_breadcrumbs-r3332.patch
| app/helpers/issues_helper.rb (working copy) | ||
|---|---|---|
| 31 | 31 |
"<strong>#{@cached_label_priority}</strong>: #{issue.priority.name}"
|
| 32 | 32 |
end |
| 33 | 33 |
|
| 34 |
def render_planning_breadcrumb |
|
| 35 |
links = [] |
|
| 36 |
links << link_to(l(:label_project_all), {:project_id => nil})
|
|
| 37 |
links << link_to(h(@project), {:project_id => @project}) if @project
|
|
| 38 |
breadcrumb links |
|
| 39 |
end |
|
| 40 |
|
|
| 34 | 41 |
def render_custom_fields_rows(issue) |
| 35 | 42 |
return if issue.custom_field_values.empty? |
| 36 | 43 |
ordered_values = [] |
| app/views/issues/calendar.rhtml (working copy) | ||
|---|---|---|
| 1 | 1 |
<h2><%= l(:label_calendar) %></h2> |
| 2 | 2 | |
| 3 |
<%= render_planning_breadcrumb %> |
|
| 4 | ||
| 3 | 5 |
<% form_tag({}, :id => 'query_form') do %>
|
| 4 | 6 |
<fieldset id="filters" class="collapsible"> |
| 5 | 7 |
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> |
| app/views/issues/gantt.rhtml (working copy) | ||
|---|---|---|
| 1 | 1 |
<h2><%= l(:label_gantt) %></h2> |
| 2 | 2 | |
| 3 |
<%= render_planning_breadcrumb %> |
|
| 4 | ||
| 3 | 5 |
<% form_tag(params.merge(:month => nil, :year => nil, :months => nil), :id => 'query_form') do %> |
| 4 | 6 |
<fieldset id="filters" class="collapsible"> |
| 5 | 7 |
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> |