diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 4ab6a69..e6e1b93 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -466,7 +466,7 @@ module ApplicationHelper
# displays a link to the community homepage with its image (as generated by
# #profile_image) and its name and number of members beside it.
def community_image_link( profile, size=:portrait, tag='li' )
- name = profile.short_name
+ name = profile.name
content_tag tag,
link_to(
content_tag( 'span', profile_image( profile, size ), :class => 'profile-image' ) +
@@ -476,7 +476,8 @@ module ApplicationHelper
:onclick => 'document.location.href = this.href', # work-arround for ie.
:class => 'profile_link url',
:help => _('Click on this icon to go to the %s\'s home page') % profile.name,
- :title => profile.name ),
+ :title => profile.name ) +
+ '
',
:class => 'vcard'
end
diff --git a/app/helpers/block_helper.rb b/app/helpers/block_helper.rb
index d90fdb1..e5c9b04 100644
--- a/app/helpers/block_helper.rb
+++ b/app/helpers/block_helper.rb
@@ -1,7 +1,9 @@
module BlockHelper
def block_title(title)
- content_tag('h3', title, :class => 'block-title')
+ tag_class = 'block-title'
+ tag_class += ' empty' if title.empty?
+ content_tag 'h3', title, :class => tag_class
end
end
diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml
index 8e7d631..0601e95 100644
--- a/app/views/layouts/application-ng.rhtml
+++ b/app/views/layouts/application-ng.rhtml
@@ -102,8 +102,6 @@