Commit 66235178881af68b8c265794275335512c6facd0
1 parent
950a6565
Exists in
master
and in
29 other branches
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 | 13 | <body> |
14 | 14 | <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %> |
15 | 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 | 22 | <div id="frame"> |
17 | 23 | <div id="menu"> |
18 | 24 | <%= _('Skip to:') %> |
... | ... | @@ -25,12 +31,6 @@ |
25 | 31 | <%= header %> |
26 | 32 | </div> |
27 | 33 | |
28 | - <% unless flash[:notice].nil? %> | |
29 | - <div id='notice'> | |
30 | - <%= flash[:notice] %> | |
31 | - </div> | |
32 | - <% end %> | |
33 | - | |
34 | 34 | <div id='content'> |
35 | 35 | <!-- <a name='main_content'/></a> --> |
36 | 36 | <div id='header_content'> | ... | ... |