From b5e4298dc8c175e705e66e5e75fe83e9e1f34d13 Mon Sep 17 00:00:00 2001 From: ValessioBrito Date: Thu, 13 Dec 2007 18:50:00 +0000 Subject: [PATCH] ActionItem138: notice and wrap height fix --- app/views/layouts/application.rhtml | 7 +++---- app/views/profile_editor/index.rhtml | 2 +- app/views/shared/categories_menu.rhtml | 1 + public/designs/templates/default/stylesheets/forms.css | 7 ++++--- public/designs/templates/default/stylesheets/style.css | 28 +++------------------------- public/stylesheets/common.css | 14 ++++++-------- public/stylesheets/menu.css | 1 + 7 files changed, 19 insertions(+), 41 deletions(-) diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index 953980e..40793d6 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -29,9 +29,9 @@ <% unless flash[:notice].nil? %> -
+
<%= flash[:notice] %> - <%= javascript_tag(visual_effect(:fade, "notice", :duration => 2.0)) %> + <%= javascript_tag(visual_effect(:fade, "notice", :duration => 15)) %>
<% end %> @@ -62,8 +62,7 @@ document.getElementById(group).style.position = posSetting } - <%= image_tag 'noosfero.png', :style => 'float: left;' %> - + <%= render :file => 'shared/categories_menu' %>
diff --git a/app/views/profile_editor/index.rhtml b/app/views/profile_editor/index.rhtml index a6a83f9..7469702 100644 --- a/app/views/profile_editor/index.rhtml +++ b/app/views/profile_editor/index.rhtml @@ -1,6 +1,6 @@

<%= _('My profile') %>

-<%= link_to (@profile.image ? image_tag( @profile.image.public_filename(:thumb)) : _('Put image')), :action => 'change_image' %> +<%= link_to (@profile.image ? image_tag( @profile.image.public_filename) : _('Put image')), :action => 'change_image' %> <%= display_profile_info(profile) %> diff --git a/app/views/shared/categories_menu.rhtml b/app/views/shared/categories_menu.rhtml index 92084cb..3dc236e 100644 --- a/app/views/shared/categories_menu.rhtml +++ b/app/views/shared/categories_menu.rhtml @@ -1,3 +1,4 @@ +<%= image_tag 'noosfero.png', :style => 'float: left;' %>