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.
parent edd6028b
......@@ -19,7 +19,7 @@
%td{align: "left", style: "margin: 0; padding: 10px;"}
%p{style: "font-size:small;color:#777"}
- 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
- if @target_url
#{link_to "View in 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