notify.html.haml 1.01 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
  :css
7 8 9 10
    img {
      max-width: 100%;
      height: auto;
    }
11 12 13 14 15 16 17 18
    p.details {
      font-style:italic;
      color:#777
    }
    .footer p {
      font-size:small;
      color:#777
    }
19 20 21
    pre.commit-message {
      white-space: pre-wrap;
    }
22 23 24 25 26 27 28 29
    .file-stats a {
      text-decoration: none;
    }
    .file-stats .new-file {
      color: #090;
    }
    .file-stats .deleted-file {
      color: #B00;
30
    }}
31
  %body
32 33 34 35 36 37 38
    %div.content
      = yield
    %div.footer{style: "margin-top: 10px;"}
      %p
        \—
        %br
        - if @target_url
Robert Boloc's avatar
Robert Boloc committed
39
          #{link_to "View it on GitLab", @target_url}
40
          = email_action @target_url
41
        - if @project && !@disable_footer
Vinnie Okada's avatar
Vinnie Okada committed
42
          You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, namespace_project_url(@project.namespace, @project)} project team.