Commit b471122f3eacb4fadb563b946efb6fcf4d708514
1 parent
cb589d23
Exists in
spb-stable
and in
3 other branches
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
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: | ... | ... |