diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-12 21:47:37 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-12 21:47:37 +0400 |
commit | 48bc4fc214934160af39958c70f3adb6d7e00b5a (patch) | |
tree | 057bdce3848ba97221b977d1da3bc9d065d1012b /app/views | |
parent | 0cd873c2d3724bc373e1d8b9e5b32c01e32c1927 (diff) |
fixed flash message. better tree css
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/_flash.html.haml | 5 | ||||
-rw-r--r-- | app/views/refs/_tree.html.haml | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/views/layouts/_flash.html.haml b/app/views/layouts/_flash.html.haml index 5139aed498c..2e40f0a6281 100644 --- a/app/views/layouts/_flash.html.haml +++ b/app/views/layouts/_flash.html.haml @@ -1,9 +1,8 @@ - if alert || notice - text = alert || notice %div{:style => "display:none", :id => "flash_container"} - .container - %center - %h4= text + %center + %h4= text :javascript $(function(){ $("#flash_container").slideDown("slow"); diff --git a/app/views/refs/_tree.html.haml b/app/views/refs/_tree.html.haml index 74d194d32f0..d1fcc2958bf 100644 --- a/app/views/refs/_tree.html.haml +++ b/app/views/refs/_tree.html.haml @@ -19,7 +19,7 @@ = render :partial => "refs/tree_file", :locals => { :name => tree.name, :content => tree.data, :file => tree } - else - contents = tree.contents - %table#tree-slider.bordered-table.zebra-striped + %table#tree-slider.bordered-table %thead %th Name %th Last Update |