Commit 7959455f4d5dc25963176b9f83981b17b415996e

Authored by Pierre de La Morinerie
1 parent ec196fbb

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.
Showing 1 changed file with 0 additions and 6 deletions   Show diff stats
app/views/layouts/notify.html.haml
... ... @@ -5,16 +5,10 @@
5 5 GitLab
6 6  
7 7 %body
8   - %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;"}
9   - GitLab
10   - - if @project
11   - \|
12   - = link_to @project.name_with_namespace, project_url(@project), style: 'color: #29B; text-decoration: none'
13 8 %table{align: "left", border: "0", cellpadding: "0", cellspacing: "0", style: "padding: 10px 0;", width: "100%"}
14 9 %tr
15 10 %td{align: "left", style: "margin: 0; padding: 10px;"}
16 11 = yield
17   - %br
18 12 %tr
19 13 %td{align: "left", style: "margin: 0; padding: 10px;"}
20 14 %p{style: "font-size:small;color:#777"}
... ...