Commit 53181e77 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'refactor/remove_u_prefix' into 'master'

Remove '/u' prefix form username from Account page

## What does this MR do?

Removes `/u` prefix for username from Account page

Fixes #23323

See merge request !6872
parents 88f5eb1d eb4a42e0
...@@ -86,11 +86,11 @@ ...@@ -86,11 +86,11 @@
= f.label :username, "Path", class: "label-light" = f.label :username, "Path", class: "label-light"
.input-group .input-group
.input-group-addon .input-group-addon
= "#{root_url}u/" = root_url
= f.text_field :username, required: true, class: 'form-control' = f.text_field :username, required: true, class: 'form-control'
.help-block .help-block
Current path: Current path:
= "#{root_url}u/#{current_user.username}" = "#{root_url}#{current_user.username}"
.prepend-top-default .prepend-top-default
= f.button class: "btn btn-warning", type: "submit" do = f.button class: "btn btn-warning", type: "submit" do
= icon "spinner spin", class: "hidden loading-username" = icon "spinner spin", class: "hidden loading-username"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment