Commit 66235178881af68b8c265794275335512c6facd0

Authored by ValessioBrito
1 parent 950a6565

ActionItem0: Change div notice


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@374 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
app/views/layouts/application.rhtml
@@ -13,6 +13,12 @@ @@ -13,6 +13,12 @@
13 <body> 13 <body>
14 <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %> 14 <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %>
15 <div id="wrap"> 15 <div id="wrap">
  16 + <% unless flash[:notice].nil? %>
  17 + <div id='notice'>
  18 + <%= flash[:notice] %>
  19 + <%= link_to_function( content_tag(:span, _('Close') ), {},{:onclick => visual_effect(:fade, "notice", :duration => 0.5), :id => 'button_close_notice'} ) %>
  20 + </div>
  21 + <% end %>
16 <div id="frame"> 22 <div id="frame">
17 <div id="menu"> 23 <div id="menu">
18 <%= _('Skip to:') %> 24 <%= _('Skip to:') %>
@@ -25,12 +31,6 @@ @@ -25,12 +31,6 @@
25 <%= header %> 31 <%= header %>
26 </div> 32 </div>
27 33
28 - <% unless flash[:notice].nil? %>  
29 - <div id='notice'>  
30 - <%= flash[:notice] %>  
31 - </div>  
32 - <% end %>  
33 -  
34 <div id='content'> 34 <div id='content'>
35 <!-- <a name='main_content'/></a> --> 35 <!-- <a name='main_content'/></a> -->
36 <div id='header_content'> 36 <div id='header_content'>