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

_profile.html.haml « users « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4f61a1b66523f1514dda537af1c79b16e14d323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
= render Pajamas::CardComponent.new(body_options: { class: 'gl-py-0' }) do |c|
  - c.with_header do
    = _('Profile')
  - c.with_body do
    %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