From 09c3d5b0b68508285c0f6afaaa9f76720aec7d5d Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 25 Sep 2015 12:53:09 -0300 Subject: [PATCH] favorite-enterprises-block: add view-all class to footer link and fix translation --- app/models/favorite_enterprises_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/favorite_enterprises_block.rb b/app/models/favorite_enterprises_block.rb index d1fa725..c58c1cb 100644 --- a/app/models/favorite_enterprises_block.rb +++ b/app/models/favorite_enterprises_block.rb @@ -16,7 +16,7 @@ class FavoriteEnterprisesBlock < ProfileListBlock owner = self.owner return '' unless owner.kind_of?(Person) proc do - link_to _('View all'), :profile => owner.identifier, :controller => 'profile', :action => 'favorite_enterprises' + link_to _('enterprises|View all'), {:profile => owner.identifier, :controller => 'profile', :action => 'favorite_enterprises'}, :class => 'view-all' end end -- libgit2 0.21.2