BigW Consortium Gitlab

notify.html.haml 1.12 KB
Newer Older
1
%html{lang: "en"}
gitlabhq committed
2
  %head
3
    %meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
4 5 6
    %title
      GitLab
    = stylesheet_link_tag 'notify'
7
    = yield :head
8
  %body
9 10 11 12
    %div.content
      = yield
    %div.footer{style: "margin-top: 10px;"}
      %p
13
        —
14 15
        %br
        - if @target_url
16 17 18 19
          - if @reply_by_email
            Reply to this email directly or
            #{link_to "view it on GitLab", @target_url}.
          - else
20
            #{link_to "View it on GitLab", @target_url}.
21
          %br
22
          -# Don't link the host in the line below, one link in the email is easier to quickly click than two.
23
          You're receiving this email because of your account on #{Gitlab.config.gitlab.host}.
24
          If you'd like to receive fewer emails, you can
25 26 27
          - if @labels_url
            adjust your #{link_to 'label subscriptions', @labels_url}.
          - else
28 29
            - if @sent_notification_url
              = link_to "unsubscribe", @sent_notification_url
30 31
              from this thread or
            adjust your notification settings.
32

33
          = email_action @target_url