summaryrefslogtreecommitdiff
path: root/app/views/notify/merge_request_unmergeable_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/merge_request_unmergeable_email.html.haml')
-rw-r--r--app/views/notify/merge_request_unmergeable_email.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notify/merge_request_unmergeable_email.html.haml b/app/views/notify/merge_request_unmergeable_email.html.haml
index f51a31c0eda..e84905a5fad 100644
--- a/app/views/notify/merge_request_unmergeable_email.html.haml
+++ b/app/views/notify/merge_request_unmergeable_email.html.haml
@@ -1,6 +1,6 @@
%p
- Merge Request #{link_to @merge_request.to_reference, project_merge_request_url(@merge_request.target_project, @merge_request)} can no longer be merged due to the following reason(s):
+ Merge Request #{link_to @merge_request.to_reference, project_merge_request_url(@merge_request.target_project, @merge_request)} can no longer be merged due to the following #{pluralize(@reasons, 'reason')}:
%ul
- - @merge_request_presenter.unmergeable_reasons.each do |reason|
+ - @reasons.each do |reason|
%li= reason