Commit 3ae03f5615f35faf06ecf6fb94c6a4ed6a316b1e

Authored by Dmitriy Zaporozhets
2 parents 9f73388f b471122f

Merge pull request #6012 from jvanbaarsen/social_clickable

Made the skype and twitter username clickable
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/views/users/_profile.html.haml
... ... @@ -8,7 +8,7 @@
8 8 - unless user.skype.blank?
9 9 %li
10 10 %span.light Skype:
11   - %strong= user.skype
  11 + %strong= link_to user.skype, "skype:#{user.skype}"
12 12 - unless user.linkedin.blank?
13 13 %li
14 14 %span.light LinkedIn:
... ... @@ -16,7 +16,7 @@
16 16 - unless user.twitter.blank?
17 17 %li
18 18 %span.light Twitter:
19   - %strong= user.twitter
  19 + %strong= link_to user.twitter, "http://www.twitter.com/#{user.twitter}"
20 20 - unless user.bio.blank?
21 21 %li
22 22 %span.light Bio:
... ...