diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-07 11:51:03 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-07 11:51:03 +0100 |
commit | 15a282387938c896ff7b83cb1bb4fe447b856b2b (patch) | |
tree | 373e71bd1eb965f1590faa1e0a662adbe63d2219 /app/views/profiles | |
parent | e5183d907e9db2bdf87dae83708b35a970a829ba (diff) | |
download | gitlab-ce-15a282387938c896ff7b83cb1bb4fe447b856b2b.tar.gz |
fixed breadcrumb titles
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/accounts/show.html.haml | 1 | ||||
-rw-r--r-- | app/views/profiles/two_factor_auths/show.html.haml | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml index ed079ed7dfb..c5917ae5aeb 100644 --- a/app/views/profiles/accounts/show.html.haml +++ b/app/views/profiles/accounts/show.html.haml @@ -1,3 +1,4 @@ +- @breadcrumb_title = "Account" - page_title "Account" - @content_class = "limit-container-width" unless fluid_layout = render 'profiles/head' diff --git a/app/views/profiles/two_factor_auths/show.html.haml b/app/views/profiles/two_factor_auths/show.html.haml index 35a547c2e3f..e759d0d0a4a 100644 --- a/app/views/profiles/two_factor_auths/show.html.haml +++ b/app/views/profiles/two_factor_auths/show.html.haml @@ -1,12 +1,11 @@ - page_title 'Two-Factor Authentication', 'Account' -- header_title "Two-Factor Authentication", profile_two_factor_auth_path +- if show_new_nav? + - breadcrumbs_extra_links("Account", profile_path) +- else + - header_title "Two-Factor Authentication", profile_two_factor_auth_path - @breadcrumb_title = "Two-Factor Authentication" - @content_class = "limit-container-width" unless fluid_layout -- if show_new_nav? - - content_for :header_title_before do - = link_to "User Settings", profile_path - = render 'profiles/head' - if inject_u2f_api? |