From aa23b03f98eec508dcd342e3a4618e97a8aa40e0 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Fri, 23 May 2014 17:29:18 +1000 Subject: [PATCH] Always showing social media --- app/views/modals/_producer.html.haml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/modals/_producer.html.haml b/app/views/modals/_producer.html.haml index be34e3c20a..6798598f49 100644 --- a/app/views/modals/_producer.html.haml +++ b/app/views/modals/_producer.html.haml @@ -17,20 +17,19 @@ %a{"bo-href" => "{{producer.website}}", target: "_blank" } %i.fi-web {{ producer.website }} - {{ producer.twitterific }} - %li{"ng-show" => "producer.twitterific"} + %li %a{"ng-href" => "http://twitter.com/{{producer.twitter}}", target: "_blank"} %i.fi-social-twitter {{ producer.twitter }} - %li{"bo-if" => "producer.facebook"} + %li %a{"bo-href" => "{{producer.facebook}}", target: "_blank"} %i.fi-social-facebook {{ producer.facebook }} - %li{"bo-if" => "producer.linkedin"} + %li %a{"bo-href" => "{{producer.linkedin}}", target: "_blank"} %i.fi-social-linkedin {{ producer.linkedin }} - %li{"bo-if" => "producer.instagram"} + %li %a{"bo-href" => "http://instagram.com/{{producer.instagram}}", target: "_blank"} / Will needs logic to allow user to input @instagramhandle to drive a logical URL %i.fi-social-instagram