gitlab-org--gitlab-foss/app/views/users/_profile.html.haml
2015-03-20 20:15:13 -07:00

27 lines
849 B
Text

.panel.panel-default
.panel-heading
Profile
%ul.well-list
%li
%span.light Member since
%strong= user.created_at.stamp("Aug 21, 2011")
- unless user.skype.blank?
%li
%span.light Skype:
%strong= link_to user.skype, "skype:#{user.skype}"
- unless user.linkedin.blank?
%li
%span.light LinkedIn:
%strong= link_to user.linkedin, "http://www.linkedin.com/in/#{user.linkedin}"
- unless user.twitter.blank?
%li
%span.light Twitter:
%strong= link_to user.twitter, "http://www.twitter.com/#{user.twitter}"
- unless user.website_url.blank?
%li
%span.light Website:
%strong= link_to user.short_website_url, user.full_website_url
- unless user.location.blank?
%li
%span.light Location:
%strong= user.location