Commit 6f3a04cf authored by Miguel Rincon's avatar Miguel Rincon

Merge branch '336708-fix-ca-mr-closed-count' into 'master'

Fix contribution analytics mr closed count param

See merge request gitlab-org/gitlab!66805
parents 42bba84e b8c3613c
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
- mr_created_count = @data_collector.total_merge_requests_created_count - mr_created_count = @data_collector.total_merge_requests_created_count
- mr_merged_count = @data_collector.total_merge_requests_merged_count - mr_merged_count = @data_collector.total_merge_requests_merged_count
- if mr_closed_count > 0 || mr_created_count > 0 || mr_merged_count > 0 - if mr_closed_count > 0 || mr_created_count > 0 || mr_merged_count > 0
= html_escape(s_('ContributionAnalytics|%{created_count} created, %{merged_count} merged, %{closed_count} closed.')) % { mr_closed_count: tag.strong(mr_closed_count), created_count: tag.strong(mr_created_count), merged_count: tag.strong(mr_merged_count) } = html_escape(s_('ContributionAnalytics|%{created_count} created, %{merged_count} merged, %{closed_count} closed.')) % { closed_count: tag.strong(mr_closed_count), created_count: tag.strong(mr_created_count), merged_count: tag.strong(mr_merged_count) }
- else - else
= s_('ContributionAnalytics|No merge requests for the selected time period.') = s_('ContributionAnalytics|No merge requests for the selected time period.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment