From ac87bd0c113e5265d7913e13c005850a4f6bf4c3 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Mon, 20 Nov 2017 10:40:01 -0600 Subject: Add checkboxes to automatically run AutoDevops pipeline Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962 --- app/views/layouts/_flash.html.haml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'app/views/layouts/_flash.html.haml') 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 -- cgit v1.2.3