BigW Consortium Gitlab

notify.html.haml 1.18 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 28 29 30 31
          - if @labels_url
            adjust your #{link_to 'label subscriptions', @labels_url}.
          - else
            - if @sent_notification && @sent_notification.unsubscribable?
              = link_to "unsubscribe", unsubscribe_sent_notification_url(@sent_notification)
              from this thread or
            adjust your notification settings.
32

33
          = email_action @target_url