From 66235178881af68b8c265794275335512c6facd0 Mon Sep 17 00:00:00 2001 From: ValessioBrito Date: Wed, 22 Aug 2007 19:42:25 +0000 Subject: [PATCH] ActionItem0: Change div notice --- app/views/layouts/application.rhtml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index 3ed3818..daf43a6 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -13,6 +13,12 @@ <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %>
+ <% unless flash[:notice].nil? %> +
+ <%= flash[:notice] %> + <%= link_to_function( content_tag(:span, _('Close') ), {},{:onclick => visual_effect(:fade, "notice", :duration => 0.5), :id => 'button_close_notice'} ) %> +
+ <% end %>
- <% unless flash[:notice].nil? %> -
- <%= flash[:notice] %> -
- <% end %> -
-- libgit2 0.21.2