Commit ca0691ca authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'prevent-two-links-in-emails' into 'master'

Prevent-two-links-in-emails

Only one link per email to prevent clicking the wrong one.
parents f2040c29 049cb4bf
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
\— \—
%br %br
- if @project - if @project
You're receiving this notification because you are a member of the #{link_to @project.name_with_namespace, project_url(@project)} project team. You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, project_url(@project)} project team.
- if @target_url - if @target_url
#{link_to "View it on GitLab", @target_url} #{link_to "View it on GitLab", @target_url}
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