Commit 049cb4bf894840c38c8ad54be800e552028b0310

Authored by dosire
1 parent b98bd5c8

Only one link per email to prevent clicking the wrong one.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/layouts/notify.html.haml
... ... @@ -21,6 +21,6 @@
21 21 \—
22 22 %br
23 23 - if @project
24   - You're receiving this notification because you are a member of the #{link_to @project.name_with_namespace, project_url(@project)} project team.
  24 + 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.
25 25 - if @target_url
26 26 #{link_to "View it on GitLab", @target_url}
... ...