summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-10 04:49:02 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-10 04:49:02 -0800
commit3ae03f5615f35faf06ecf6fb94c6a4ed6a316b1e (patch)
treea1b497584f718ea47d088a2b818e69f8442ec19a
parent9f73388fd297a7ad73ae555847720d07ae62d132 (diff)
parentb471122f3eacb4fadb563b946efb6fcf4d708514 (diff)
downloadgitlab-ce-3ae03f5615f35faf06ecf6fb94c6a4ed6a316b1e.tar.gz
Merge pull request #6012 from jvanbaarsen/social_clickable
Made the skype and twitter username clickable
-rw-r--r--app/views/users/_profile.html.haml4
1 files 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: