From c1fc0260b733dc48bc532582b2b8480edb85819a Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 19 Jul 2010 08:46:31 -0300 Subject: [PATCH] Allowing more flexibility for themes --- app/helpers/block_helper.rb | 2 +- app/views/account/login_block.rhtml | 2 +- public/designs/themes/base/style.css | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/helpers/block_helper.rb b/app/helpers/block_helper.rb index e5c9b04..8fbe47f 100644 --- a/app/helpers/block_helper.rb +++ b/app/helpers/block_helper.rb @@ -3,7 +3,7 @@ module BlockHelper def block_title(title) tag_class = 'block-title' tag_class += ' empty' if title.empty? - content_tag 'h3', title, :class => tag_class + content_tag 'h3', content_tag('span', title), :class => tag_class end end diff --git a/app/views/account/login_block.rhtml b/app/views/account/login_block.rhtml index 3441655..845e470 100644 --- a/app/views/account/login_block.rhtml +++ b/app/views/account/login_block.rhtml @@ -1,7 +1,7 @@
<% unless logged_in? %> -

<%= _('Login') %>

+

<%= _('Login') %>