Commit 28dc04aa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'view-link-first' into 'master'

View link first

See merge request !1397
parents 47f0a8db f8b97b45
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
%p %p
\— \—
%br %br
- if @project
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}
= email_action @target_url = email_action @target_url
- if @project
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.
...@@ -54,8 +54,8 @@ namespace :gitlab do ...@@ -54,8 +54,8 @@ namespace :gitlab do
<div class='footer' style='margin-top: 10px;'> <div class='footer' style='margin-top: 10px;'>
<p> <p>
<br> <br>
You're receiving this notification because you are a member of the Base / Rails Project project team.
<a href=\"#{url}\">View it on GitLab</a> <a href=\"#{url}\">View it on GitLab</a>
You're receiving this notification because you are a member of the Base / Rails Project project team.
#{schema} #{schema}
</p> </p>
</div> </div>
......
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