From 0d9a0919e51eba086a5ff41c0146d596fc764ab3 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 21 Jan 2015 16:39:41 +1100 Subject: [PATCH] show contact a group's contact footer --- app/views/groups/show.html.haml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index cd50aa90a9..c354dd36a9 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -142,6 +142,18 @@ %br = @group.address.country - %p TODO: show the group's contact footer + .text-center + %p + = @group.name + %p + -if @group.facebook + %a{title:'Follow us on Facebook', href: 'https://www.facebook.com/' + @group.facebook, target: '_blank'} + %i.ofn-i_044-facebook + -if @group.email + %a{title:'Email us', href: @group.email.reverse, mailto: true} + %i.ofn-i_050-mail-circle + -if @group.website + %a{title:'Visit our website', href: 'http://' + @group.website, target: '_blank'} + %i.ofn-i_049-web = render partial: "shared/footer"