debian-mirror-gitlab/lib/gitlab/cycle_analytics/plan_stage.rb

35 lines
715 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module Gitlab
module CycleAnalytics
class PlanStage < BaseStage
2019-09-04 21:01:54 +05:30
include PlanHelper
2017-08-17 22:00:37 +05:30
def start_time_attrs
@start_time_attrs ||= [issue_metrics_table[:first_associated_with_milestone_at],
issue_metrics_table[:first_added_to_board_at]]
end
def end_time_attrs
@end_time_attrs ||= issue_metrics_table[:first_mentioned_in_commit_at]
end
def name
:plan
end
def title
s_('CycleAnalyticsStage|Plan')
end
def legend
2019-09-04 21:01:54 +05:30
_("Related Issues")
2017-08-17 22:00:37 +05:30
end
def description
_("Time before an issue starts implementation")
end
end
end
end