Commit b8c3613c authored by Mark Lapierre's avatar Mark Lapierre

Fix contribution analytics MR closed count param

Changelog: fixed
EE: true
parent 12ecbd85
...@@ -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