debian-mirror-gitlab/app/views/admin/users/_profile.html.haml

32 lines
1 KiB
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
.card
.card-header
2021-06-08 01:23:25 +05:30
= _('Profile')
2018-11-08 19:23:39 +05:30
%ul.content-list
2014-09-02 18:07:02 +05:30
%li
2021-06-08 01:23:25 +05:30
%span.light= _('Member since')
%strong= user.created_at.to_s(:medium)
2015-04-26 12:48:37 +05:30
- unless user.public_email.blank?
%li
2021-06-08 01:23:25 +05:30
%span.light= _('E-mail:')
2015-04-26 12:48:37 +05:30
%strong= link_to user.public_email, "mailto:#{user.public_email}"
2014-09-02 18:07:02 +05:30
- unless user.skype.blank?
%li
2021-06-08 01:23:25 +05:30
%span.light= _('Skype:')
2014-09-02 18:07:02 +05:30
%strong= link_to user.skype, "skype:#{user.skype}"
- unless user.linkedin.blank?
%li
2021-06-08 01:23:25 +05:30
%span.light= _('LinkedIn:')
2015-11-26 14:37:03 +05:30
%strong= link_to user.linkedin, "https://www.linkedin.com/in/#{user.linkedin}"
2014-09-02 18:07:02 +05:30
- unless user.twitter.blank?
%li
2021-06-08 01:23:25 +05:30
%span.light= _('Twitter:')
2015-11-26 14:37:03 +05:30
%strong= link_to user.twitter, "https://twitter.com/#{user.twitter}"
2014-09-02 18:07:02 +05:30
- unless user.website_url.blank?
%li
2021-06-08 01:23:25 +05:30
%span.light= _('Website:')
2014-09-02 18:07:02 +05:30
%strong= link_to user.short_website_url, user.full_website_url
2015-04-26 12:48:37 +05:30
- unless user.location.blank?
2014-09-02 18:07:02 +05:30
%li
2021-06-08 01:23:25 +05:30
%span.light= _('Location:')
2015-04-26 12:48:37 +05:30
%strong= user.location