From 7959455f4d5dc25963176b9f83981b17b415996e Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 18 Feb 2014 12:14:27 +0100 Subject: [PATCH] Remove the header banner in notification emails Rationale: * The link to the project is already displayed in the message footer. * Streamlining: the content of the message is better emphasized. --- app/views/layouts/notify.html.haml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml index 9aceb58e8d1..c632fdeb3e2 100644 --- a/app/views/layouts/notify.html.haml +++ b/app/views/layouts/notify.html.haml @@ -5,16 +5,10 @@ GitLab %body - %h1{style: "background: #EEE; border-bottom: 1px solid #DDD; color: #474D57; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 5px 10px; line-height: 32px; font-size: 16px;"} - GitLab - - if @project - \| - = link_to @project.name_with_namespace, project_url(@project), style: 'color: #29B; text-decoration: none' %table{align: "left", border: "0", cellpadding: "0", cellspacing: "0", style: "padding: 10px 0;", width: "100%"} %tr %td{align: "left", style: "margin: 0; padding: 10px;"} = yield - %br %tr %td{align: "left", style: "margin: 0; padding: 10px;"} %p{style: "font-size:small;color:#777"}