Linkify the reference to the project in the notification emails footer
Rationale: * Consistency: the link is always at the same place. * Streamlining: it allows to remove the header banner, now that the project url can be accessed from another place.
This commit is contained in:
parent
edd6028bdb
commit
b59d105c0e
|
@ -19,7 +19,7 @@
|
||||||
%td{align: "left", style: "margin: 0; padding: 10px;"}
|
%td{align: "left", style: "margin: 0; padding: 10px;"}
|
||||||
%p{style: "font-size:small;color:#777"}
|
%p{style: "font-size:small;color:#777"}
|
||||||
- if @project
|
- if @project
|
||||||
You're receiving this notification because you are a member of the #{@project.name_with_namespace} project team.
|
You're receiving this notification because you are a member of the #{link_to @project.name_with_namespace, project_url(@project)} project team.
|
||||||
%br
|
%br
|
||||||
- if @target_url
|
- if @target_url
|
||||||
#{link_to "View in GitLab", @target_url}
|
#{link_to "View in GitLab", @target_url}
|
||||||
|
|
Loading…
Reference in New Issue