gitlab-org--gitlab-foss/app/views/admin/users/_profile.html.haml
2018-05-29 08:08:35 -07:00

31 lines
975 B
Text

.card
.card-header
Profile
%ul.content-list
%li
%span.light Member since
%strong= user.created_at.to_s(:medium)
- unless user.public_email.blank?
%li
%span.light E-mail:
%strong= link_to user.public_email, "mailto:#{user.public_email}"
- 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, "https://www.linkedin.com/in/#{user.linkedin}"
- unless user.twitter.blank?
%li
%span.light Twitter:
%strong= link_to user.twitter, "https://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