diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-11-20 19:40:01 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-11-28 21:43:43 +0300 |
commit | ac87bd0c113e5265d7913e13c005850a4f6bf4c3 (patch) | |
tree | b313faacec5be5da6f635f9acbbda8e80686dd0a /app/views/layouts/_flash.html.haml | |
parent | a4a389a0a7314d011275592474bd974924f86735 (diff) |
Add checkboxes to automatically run AutoDevops pipeline
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962
Diffstat (limited to 'app/views/layouts/_flash.html.haml')
-rw-r--r-- | app/views/layouts/_flash.html.haml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/views/layouts/_flash.html.haml b/app/views/layouts/_flash.html.haml index baa8036de10..1db32379df3 100644 --- a/app/views/layouts/_flash.html.haml +++ b/app/views/layouts/_flash.html.haml @@ -1,10 +1,6 @@ .flash-container.flash-container-page - - if alert - .flash-alert + -# We currently only support `alert`, `notice`, `success` + - flash.each do |key, value| + %div{ class: "flash-#{key}" } %div{ class: (container_class) } - %span= alert - - - elsif notice - .flash-notice - %div{ class: (container_class) } - %span= notice + %span= value |