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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-09-29 18:54:45 +0300
committerFatih Acet <acetfatih@gmail.com>2016-10-01 00:21:37 +0300
commita2af7790045e22bef15d922e6feae85479b917bc (patch)
tree366197a440f07d3be9ef267013623dfc07e45ec1 /app/views/layouts/_flash.html.haml
parent502c53b5fe52d7378a72f2363d39c6ed02108261 (diff)
Add flash containers and broadcast messages below subnav
Diffstat (limited to 'app/views/layouts/_flash.html.haml')
-rw-r--r--app/views/layouts/_flash.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/layouts/_flash.html.haml b/app/views/layouts/_flash.html.haml
index 3612f1ce5c6..baa8036de10 100644
--- a/app/views/layouts/_flash.html.haml
+++ b/app/views/layouts/_flash.html.haml
@@ -1,8 +1,10 @@
.flash-container.flash-container-page
- if alert
.flash-alert
- = alert
+ %div{ class: (container_class) }
+ %span= alert
- elsif notice
.flash-notice
- = notice
+ %div{ class: (container_class) }
+ %span= notice