Commit f1ea38f2b35c0d985075228d42ac0fc5f5bcb88b

Authored by Antonio Terceiro
1 parent 6820a3f5

ActionItem1050: using "See all" consistently

app/models/communities_block.rb
... ... @@ -17,11 +17,11 @@ class CommunitiesBlock < ProfileListBlock
17 17 case owner
18 18 when Profile
19 19 lambda do
20   - link_to __('All communities'), :profile => owner.identifier, :controller => 'profile', :action => 'communities'
  20 + link_to __('See all'), :profile => owner.identifier, :controller => 'profile', :action => 'communities'
21 21 end
22 22 when Environment
23 23 lambda do
24   - link_to __('All communities'), :controller => 'search', :action => 'assets', :asset => 'communities'
  24 + link_to __('See all'), :controller => 'search', :action => 'assets', :asset => 'communities'
25 25 end
26 26 else
27 27 ''
... ...
app/models/enterprises_block.rb
... ... @@ -17,11 +17,11 @@ class EnterprisesBlock < ProfileListBlock
17 17 case owner
18 18 when Profile
19 19 lambda do
20   - link_to __('All enterprises'), :profile => owner.identifier, :controller => 'profile', :action => 'enterprises'
  20 + link_to __('See all'), :profile => owner.identifier, :controller => 'profile', :action => 'enterprises'
21 21 end
22 22 when Environment
23 23 lambda do
24   - link_to __('All enterprises'), :controller => 'search', :action => 'assets', :asset => 'enterprises'
  24 + link_to __('See all'), :controller => 'search', :action => 'assets', :asset => 'enterprises'
25 25 end
26 26 else
27 27 ''
... ...
app/models/friends_block.rb
... ... @@ -15,7 +15,7 @@ class FriendsBlock < ProfileListBlock
15 15 def footer
16 16 owner_id = owner.identifier
17 17 lambda do
18   - link_to __('All friends'), :profile => owner_id, :controller => 'profile', :action => 'friends'
  18 + link_to __('See all'), :profile => owner_id, :controller => 'profile', :action => 'friends'
19 19 end
20 20 end
21 21  
... ...