Commit edfa90a9184fc606848bee601fb90a37e3c2bd3f

Authored by JoenioCosta
1 parent b57bc1e5

ActionItem512: add location to google map info box

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2133 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/helpers/search_helper.rb
... ... @@ -48,6 +48,9 @@ module SearchHelper
48 48 unless profile.contact_phone.nil?
49 49 data << content_tag('strong', _('Phone(s): ')) + profile.contact_phone + '<br/>'
50 50 end
  51 + unless profile.region.nil?
  52 + data << content_tag('strong', _('Location: ')) + profile.region.name + '<br/>'
  53 + end
51 54 unless profile.address.nil?
52 55 data << content_tag('strong', _('Address: ')) + profile.address + '<br/>'
53 56 end
... ...