Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/users/_profile.html.haml')
-rw-r--r--app/views/admin/users/_profile.html.haml59
1 files changed, 30 insertions, 29 deletions
diff --git a/app/views/admin/users/_profile.html.haml b/app/views/admin/users/_profile.html.haml
index e90dab68b39..de48129dfe6 100644
--- a/app/views/admin/users/_profile.html.haml
+++ b/app/views/admin/users/_profile.html.haml
@@ -1,31 +1,32 @@
-.card
- .card-header
+= render Pajamas::CardComponent.new(body_options: { class: 'gl-py-0' }) do |c|
+ - c.header do
= _('Profile')
- %ul.content-list
- %li
- %span.light= _('Member since')
- %strong= user.created_at.to_s(:medium)
- - unless user.public_email.blank?
+ - c.body do
+ %ul.content-list
%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
+ %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