提交 ca0691ca 编写于 作者: D 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.
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册