Skip to content

Commit 01a8a1f

Browse files
fkdkentkfischer-okarin
authored andcommitted
Update setting view
1 parent 69ad503 commit 01a8a1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/models/issue.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Issue < ActiveRecord::Base
5454
acts_as_activity_provider :scope => proc { preload(:project, :author, :tracker, :status) },
5555
:author_key => :author_id
5656

57-
DONE_RATIO_OPTIONS = %w(issue_field issue_status)
57+
DONE_RATIO_OPTIONS = %w(issue_field issue_status issue_field_and_closed_status)
5858

5959
attr_reader :transition_warning
6060
attr_writer :deleted_attachment_ids

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ en:
463463
setting_issue_done_ratio: Calculate the issue done ratio with
464464
setting_issue_done_ratio_issue_field: Use the issue field
465465
setting_issue_done_ratio_issue_status: Use the issue status
466+
setting_issue_done_ratio_issue_field_and_closed_status: Use the issue field and closed status
466467
setting_start_of_week: Start calendars on
467468
setting_rest_api_enabled: Enable REST web service
468469
setting_cache_formatted_text: Cache formatted text

0 commit comments

Comments
 (0)