From b471122f3eacb4fadb563b946efb6fcf4d708514 Mon Sep 17 00:00:00 2001 From: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> Date: Thu, 9 Jan 2014 16:33:56 +0100 Subject: [PATCH] Made the skype and twitter username clickable * I was not able to link the linkedin username, since linkedin does not provide predictable URLS * The skype url will start skype, and asks if you want to call the particular user. * The Twitter link will just go to the twitter profile of the given user --- app/views/users/_profile.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_profile.html.haml b/app/views/users/_profile.html.haml index 4cd1eebdf91..c7eb6fa182e 100644 --- a/app/views/users/_profile.html.haml +++ b/app/views/users/_profile.html.haml @@ -8,7 +8,7 @@ - unless user.skype.blank? %li %span.light Skype: - %strong= user.skype + %strong= link_to user.skype, "skype:#{user.skype}" - unless user.linkedin.blank? %li %span.light LinkedIn: @@ -16,7 +16,7 @@ - unless user.twitter.blank? %li %span.light Twitter: - %strong= user.twitter + %strong= link_to user.twitter, "http://www.twitter.com/#{user.twitter}" - unless user.bio.blank? %li %span.light Bio: -- GitLab