summaryrefslogtreecommitdiff
path: root/app/views/profiles/accounts
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-08-29 15:33:43 -0700
committerMichael Kozono <mkozono@gmail.com>2017-09-19 11:09:27 -0700
commit15e980dd7f1712b9aea5dd4cb643dad469f6d085 (patch)
treeebdd91f3e6f05db841d68ac3a0040ce65c524f79 /app/views/profiles/accounts
parent6c36c1389a1cc59143a4e737ee61e4de18d548f1 (diff)
downloadgitlab-ce-15e980dd7f1712b9aea5dd4cb643dad469f6d085.tar.gz
Add "Changing your username" section to docs
And link to it from where you change your username.
Diffstat (limited to 'app/views/profiles/accounts')
-rw-r--r--app/views/profiles/accounts/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml
index 5d778d67ae7..8abbd828032 100644
--- a/app/views/profiles/accounts/show.html.haml
+++ b/app/views/profiles/accounts/show.html.haml
@@ -74,7 +74,9 @@
%h4.prepend-top-0.warning-title
Change username
%p
- Changing your username will change path to all personal projects!
+ Changing your username can have unintended side effects.
+ = succeed '.' do
+ = link_to 'Learn more', help_page_path('user/profile/index', anchor: 'changing-your-username'), target: '_blank'
.col-lg-8
= form_for @user, url: update_username_profile_path, method: :put, html: {class: "update-username"} do |f|
.form-group