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

alert_component.html.haml « pajamas « components « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 782ac8b9ca2693daac2f08e2c70b2871f30c4b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.gl-alert{ role: 'alert', class: [base_class, @alert_class], data: @alert_data }
  - if @show_icon
    = sprite_icon(icon, css_class: icon_classes)
  - if @dismissible
    %button.btn.gl-dismiss-btn.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon.js-close{ type: 'button',
      aria: { label: _('Dismiss') },
      class: @close_button_class,
      data: @close_button_data }
      = sprite_icon('close')
  .gl-alert-content{ role: 'alert' }
    - if @title
      %h4.gl-alert-title
        = @title
    - if body?
      .gl-alert-body
        = body
    - if actions?
      .gl-alert-actions
        = actions