summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRiccardo Padovani <riccardo@rpadovani.com>2017-06-13 19:13:01 +0200
committerRiccardo Padovani <riccardo@rpadovani.com>2017-06-13 22:25:52 +0200
commit72430ae98116f1bbf7fe05874e9e870c764fc41e (patch)
tree23443eb2bf842ed50c9ae01dcd220cfad397705b /app
parent0037cf634dbcc8045fba9cbc28133cfde07dc97c (diff)
downloadgitlab-ce-72430ae98116f1bbf7fe05874e9e870c764fc41e.tar.gz
#33461: Display own user id in account settings page
Diffstat (limited to 'app')
-rw-r--r--app/views/profiles/show.html.haml15
1 files changed, 11 insertions, 4 deletions
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml
index fcfd350f0da..15672289c65 100644
--- a/app/views/profiles/show.html.haml
+++ b/app/views/profiles/show.html.haml
@@ -42,10 +42,17 @@
- if current_user.ldap_user?
Some options are unavailable for LDAP accounts
.col-lg-9
- .form-group
- = f.label :name, class: "label-light"
- = f.text_field :name, class: "form-control", required: true
- %span.help-block Enter your name, so people you know can recognize you.
+ .row
+ .form-group.col-md-9
+ = f.label :name, class: "label-light"
+ = f.text_field :name, class: "form-control", required: true
+ %span.help-block Enter your name, so people you know can recognize you.
+
+ .form-group.col-md-3
+ = f.label :id, class: 'label-light' do
+ User ID
+ = f.text_field :id, class: 'form-control', readonly: true
+
.form-group
= f.label :email, class: "label-light"