show.html.haml 407 Bytes
Newer Older
1 2 3 4
= image_tag user_avatar_url(current_user, 90), class: 'avatar avatar-inline avatar-tile s90', alt: ''
%h3
  Hi, #{@user.name}

5
  - if @user.is_admin?
6 7 8 9 10 11 12 13 14 15
    %span.label.label-success Admin

.profile-block
  %p
    %span.light Email:
    %strong= @user.email

  %p
    %span.light GitLab profile:
    %strong= link_to @user.username, GitlabCi.config.gitlab_server.url + '/u/' + @user.username, target: "_blank"