summaryrefslogtreecommitdiff
path: root/app/views/layouts/_flash.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-28 11:06:52 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-28 11:06:52 +0200
commit54d95f5897235009f670a8de262333fe528875cf (patch)
treebc06a7ecaf05fa2035e0857514c8f58541bbe99c /app/views/layouts/_flash.html.haml
parente6b5f4ade9d7dc5aae1bcb41be4fc74cf751fb92 (diff)
downloadgitlab-ce-54d95f5897235009f670a8de262333fe528875cf.tar.gz
Restyle flash message. Not it does not overflow head panel
Diffstat (limited to 'app/views/layouts/_flash.html.haml')
-rw-r--r--app/views/layouts/_flash.html.haml11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/views/layouts/_flash.html.haml b/app/views/layouts/_flash.html.haml
index 9961ce8dd34..a3bed593e1c 100644
--- a/app/views/layouts/_flash.html.haml
+++ b/app/views/layouts/_flash.html.haml
@@ -1,3 +1,8 @@
-- if text = alert || notice
- #flash-container
- %h4= text
+.flash-container
+ - if alert
+ .alert
+ %span= alert
+
+ - elsif notice
+ .alert.alert-info
+ %span= notice