From b59d105c0e541520073761b15ce575be3518cef2 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 18 Feb 2014 11:13:16 +0100 Subject: [PATCH] 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. --- app/views/layouts/notify.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml index 2a167105248..9aceb58e8d1 100644 --- a/app/views/layouts/notify.html.haml +++ b/app/views/layouts/notify.html.haml @@ -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}