From edfa90a9184fc606848bee601fb90a37e3c2bd3f Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Thu, 3 Jul 2008 00:30:12 +0000 Subject: [PATCH] ActionItem512: add location to google map info box --- app/helpers/search_helper.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index a6caf3d..53350e3 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -48,6 +48,9 @@ module SearchHelper unless profile.contact_phone.nil? data << content_tag('strong', _('Phone(s): ')) + profile.contact_phone + '
' end + unless profile.region.nil? + data << content_tag('strong', _('Location: ')) + profile.region.name + '
' + end unless profile.address.nil? data << content_tag('strong', _('Address: ')) + profile.address + '
' end -- libgit2 0.21.2