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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.2 KiB
Text
Raw Normal View History

2023-06-20 00:43:36 +05:30
= render Pajamas::CardComponent.new(body_options: { class: 'gl-py-0' }) do |c|
2023-07-09 08:55:56 +05:30
- c.with_header do
2021-06-08 01:23:25 +05:30
= _('Profile')
2023-07-09 08:55:56 +05:30
- c.with_body do
2023-06-20 00:43:36 +05:30
%ul.content-list
2015-04-26 12:48:37 +05:30
%li
2023-06-20 00:43:36 +05:30
%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