diff --git a/app/models/communities_block.rb b/app/models/communities_block.rb index 15b1820..87382bc 100644 --- a/app/models/communities_block.rb +++ b/app/models/communities_block.rb @@ -8,6 +8,10 @@ class CommunitiesBlock < ProfileListBlock _('Communities') end + def help + _('Here you can see the communities where this user is part.') + end + def footer profile = self.owner lambda do diff --git a/app/models/enterprises_block.rb b/app/models/enterprises_block.rb index d089663..dee8c17 100644 --- a/app/models/enterprises_block.rb +++ b/app/models/enterprises_block.rb @@ -4,6 +4,10 @@ class EnterprisesBlock < ProfileListBlock _('Enterprises') end + def help + _('Here you can see the enterprises where this user works.') + end + def self.description _('A block that displays your enterprises') end diff --git a/app/models/profile_list_block.rb b/app/models/profile_list_block.rb index 233692b..a7cdd10 100644 --- a/app/models/profile_list_block.rb +++ b/app/models/profile_list_block.rb @@ -55,6 +55,10 @@ class ProfileListBlock < Block _('People and Groups') end + def help + _('Clicking on the people or groups will take you to their home page.') + end + def content profiles = self.profiles title = self.title @@ -72,8 +76,4 @@ class ProfileListBlock < Block end end - def help - _('Clicking on the people or groups will take you to their home page.') - end - end diff --git a/app/views/shared/user_menu.rhtml b/app/views/shared/user_menu.rhtml index 5da01c4..57c7b72 100644 --- a/app/views/shared/user_menu.rhtml +++ b/app/views/shared/user_menu.rhtml @@ -1,4 +1,6 @@ -