From d147e2f44a36e57ea9159c1846d3a46633c233f1 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Fri, 15 May 2015 18:10:40 +0500 Subject: [PATCH] fix mistype --- app/views/user_mailer/git_new_push_notification.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user_mailer/git_new_push_notification.html.haml b/app/views/user_mailer/git_new_push_notification.html.haml index 346906b32..a8a6e8c97 100644 --- a/app/views/user_mailer/git_new_push_notification.html.haml +++ b/app/views/user_mailer/git_new_push_notification.html.haml @@ -2,7 +2,7 @@ - name_with_owner = "#{project_owner}/#{project_name}" %p - - _user_link = defined?(creator_email) ? user_link(user, defined?(creator_name) ? user_name : creator_email, true) : nil + - _user_link = defined?(creator_email) ? user_link(user, defined?(creator_name) ? creator_name : creator_email, true) : nil = raw t("notifications.bodies.#{change_type}_branch", {branch_name: branch_name, user_link: _user_link}) = raw t("notifications.bodies.project", project_link: link_to(name_with_owner, project_url(name_with_owner)) )