blob: 2cab363ba9d4e0affd33fd46ccb5ef438d478ae3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
module Gitlab
module CycleAnalytics
class ReviewStage < BaseStage
def start_time_attrs
@start_time_attrs ||= mr_table[:created_at]
end
def end_time_attrs
@end_time_attrs ||= mr_metrics_table[:merged_at]
end
def name
:review
end
def title
s_('CycleAnalyticsStage|Review')
end
def legend
_("Relative Merged Requests")
end
def description
_("Time between merge request creation and merge/close")
end
end
end
end
|