Commit 3ae03f5615f35faf06ecf6fb94c6a4ed6a316b1e
Exists in
spb-stable
and in
3 other branches
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,7 +8,7 @@ | ||
8 | - unless user.skype.blank? | 8 | - unless user.skype.blank? |
9 | %li | 9 | %li |
10 | %span.light Skype: | 10 | %span.light Skype: |
11 | - %strong= user.skype | 11 | + %strong= link_to user.skype, "skype:#{user.skype}" |
12 | - unless user.linkedin.blank? | 12 | - unless user.linkedin.blank? |
13 | %li | 13 | %li |
14 | %span.light LinkedIn: | 14 | %span.light LinkedIn: |
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | - unless user.twitter.blank? | 16 | - unless user.twitter.blank? |
17 | %li | 17 | %li |
18 | %span.light Twitter: | 18 | %span.light Twitter: |
19 | - %strong= user.twitter | 19 | + %strong= link_to user.twitter, "http://www.twitter.com/#{user.twitter}" |
20 | - unless user.bio.blank? | 20 | - unless user.bio.blank? |
21 | %li | 21 | %li |
22 | %span.light Bio: | 22 | %span.light Bio: |