fix mistype

This commit is contained in:
Alexander Machehin 2015-05-15 18:10:40 +05:00
parent c8fa5eea69
commit d147e2f44a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
- name_with_owner = "#{project_owner}/#{project_name}" - name_with_owner = "#{project_owner}/#{project_name}"
%p %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.#{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)) ) = raw t("notifications.bodies.project", project_link: link_to(name_with_owner, project_url(name_with_owner)) )