summaryrefslogtreecommitdiff
path: root/app/views/ci/user_sessions/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/user_sessions/show.html.haml')
-rw-r--r--app/views/ci/user_sessions/show.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/ci/user_sessions/show.html.haml b/app/views/ci/user_sessions/show.html.haml
new file mode 100644
index 00000000000..43f64a429b2
--- /dev/null
+++ b/app/views/ci/user_sessions/show.html.haml
@@ -0,0 +1,15 @@
+= image_tag user_avatar_url(current_user, 90), class: 'avatar avatar-inline avatar-tile s90', alt: ''
+%h3
+ Hi, #{@user.name}
+
+ - if @user.is_admin
+ %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"