Commit 579c0b979190274ca51f50fea1cdfce31c3ec77a
Exists in
master
and in
4 other branches
Merge pull request #4393 from dosire/scrum-improvements
Rename unspecified to make it clearer and in line with scrum terminology
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/helpers/issues_helper.rb
| @@ -15,7 +15,7 @@ module IssuesHelper | @@ -15,7 +15,7 @@ module IssuesHelper | ||
| 15 | # to allow filtering issues by an unassigned User or Milestone | 15 | # to allow filtering issues by an unassigned User or Milestone |
| 16 | def unassigned_filter | 16 | def unassigned_filter |
| 17 | # Milestone uses :title, Issue uses :name | 17 | # Milestone uses :title, Issue uses :name |
| 18 | - OpenStruct.new(id: 0, title: 'Unspecified', name: 'Unassigned') | 18 | + OpenStruct.new(id: 0, title: 'None (backlog)', name: 'Unassigned') |
| 19 | end | 19 | end |
| 20 | 20 | ||
| 21 | def issues_filter | 21 | def issues_filter |
app/views/issues/_issues.html.haml
| @@ -63,7 +63,7 @@ | @@ -63,7 +63,7 @@ | ||
| 63 | - if @milestone.present? | 63 | - if @milestone.present? |
| 64 | %strong= @milestone.title | 64 | %strong= @milestone.title |
| 65 | - elsif params[:milestone_id] == "0" | 65 | - elsif params[:milestone_id] == "0" |
| 66 | - Unspecified | 66 | + None (backlog) |
| 67 | - else | 67 | - else |
| 68 | Any | 68 | Any |
| 69 | %b.caret | 69 | %b.caret |
| @@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
| 72 | = link_to project_issues_with_filter_path(@project, milestone_id: nil) do | 72 | = link_to project_issues_with_filter_path(@project, milestone_id: nil) do |
| 73 | Any | 73 | Any |
| 74 | = link_to project_issues_with_filter_path(@project, milestone_id: 0) do | 74 | = link_to project_issues_with_filter_path(@project, milestone_id: 0) do |
| 75 | - Unspecified | 75 | + None (backlog) |
| 76 | - issues_active_milestones.each do |milestone| | 76 | - issues_active_milestones.each do |milestone| |
| 77 | %li | 77 | %li |
| 78 | = link_to project_issues_with_filter_path(@project, milestone_id: milestone.id) do | 78 | = link_to project_issues_with_filter_path(@project, milestone_id: milestone.id) do |