_profile.html.haml 989 Bytes
Newer Older
1
.panel.panel-default
2
  .panel-heading
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
3 4 5
    Profile
  %ul.well-list
    %li
6
      %span.light Member since
7
      %strong= user.created_at.to_s(:medium)
8 9 10 11
    - unless user.public_email.blank?
      %li
        %span.light E-mail:
        %strong= link_to user.public_email, "mailto:#{user.public_email}"
12
    - unless user.skype.blank?
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
13
      %li
14
        %span.light Skype:
15
        %strong= link_to user.skype, "skype:#{user.skype}"
16
    - unless user.linkedin.blank?
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
17
      %li
18
        %span.light LinkedIn:
19
        %strong= link_to user.linkedin, "https://www.linkedin.com/in/#{user.linkedin}"
20
    - unless user.twitter.blank?
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
21
      %li
22
        %span.light Twitter:
23
        %strong= link_to user.twitter, "https://twitter.com/#{user.twitter}"
Jerome Dalbert's avatar
Jerome Dalbert committed
24 25
    - unless user.website_url.blank?
      %li
26
        %span.light Website:
Jerome Dalbert's avatar
Jerome Dalbert committed
27
        %strong= link_to user.short_website_url, user.full_website_url
28 29 30 31
    - unless user.location.blank?
      %li
        %span.light Location:
        %strong= user.location