notify.html.haml 1.07 KB
Newer Older
1
%html{lang: "en"}
gitlabhq's avatar
gitlabhq committed
2
  %head
3
    %meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
gitlabhq's avatar
gitlabhq committed
4
      %title
5
        GitLab
6

7 8 9 10 11 12 13
  %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%"}
gitlabhq's avatar
gitlabhq committed
14
      %tr
15 16 17 18 19 20 21 22
        %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"}
            - if @project
              You're receiving this notification because you are a member of the #{@project.name_with_namespace} project team.
23 24 25
              %br
            - if @target_url
              #{link_to "View in GitLab", @target_url}