Welcome to mirror list, hosted at ThFree Co, Russian Federation.

service_desk.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 13e9785317cb350c88e98502dce37122dd6258d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%html{ lang: I18n.locale }
  %head
    %meta{ content: "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
    -# haml-lint:disable NoPlainNodes
    %title
      GitLab
    -# haml-lint:enable NoPlainNodes
    - if Feature.enabled?(:enhanced_notify_css)
      = stylesheet_link_tag 'notify_enhanced'
      %style{ type: 'text/css', 'data-premailer': 'ignore' }
        -# The MUA automatically turns some text into links.
        -# Match the color of explicit links ($blue-600 from typography.scss).
        a { color: #1068bf; }
    - else
      = stylesheet_link_tag 'notify'
    = yield :head
  %body
    = html_header_message
    .content
      = yield
    .footer{ style: "margin-top: 10px;" }
      %p
        —
        %br
        = link_to "Unsubscribe", @unsubscribe_url

        -# EE-specific start
        - if Gitlab::CurrentSettings.email_additional_text.present?
          %br
          %br
            = Gitlab::Utils.nlbr(Gitlab::CurrentSettings.email_additional_text)
        -# EE-specific end

        = html_footer_message