Commit b59d105c0e541520073761b15ce575be3518cef2

Authored by Pierre de La Morinerie
1 parent edd6028b

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.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/layouts/notify.html.haml
... ... @@ -19,7 +19,7 @@
19 19 %td{align: "left", style: "margin: 0; padding: 10px;"}
20 20 %p{style: "font-size:small;color:#777"}
21 21 - if @project
22   - You're receiving this notification because you are a member of the #{@project.name_with_namespace} project team.
  22 + You're receiving this notification because you are a member of the #{link_to @project.name_with_namespace, project_url(@project)} project team.
23 23 %br
24 24 - if @target_url
25 25 #{link_to "View in GitLab", @target_url}
... ...