diff --git a/modules/storages/app/controllers/storages/admin/storages_controller.rb b/modules/storages/app/controllers/storages/admin/storages_controller.rb index 7491bd2c6bd7..5c600ebd01eb 100644 --- a/modules/storages/app/controllers/storages/admin/storages_controller.rb +++ b/modules/storages/app/controllers/storages/admin/storages_controller.rb @@ -208,7 +208,7 @@ def default_breadcrumb # See: default_breadcrum above # Defines whether to show breadcrumbs on the page or not. def show_local_breadcrumb - true + false end private diff --git a/modules/storages/app/views/storages/admin/storages/new.html.erb b/modules/storages/app/views/storages/admin/storages/new.html.erb index 1cee2eedb9f7..6c592bb337f6 100644 --- a/modules/storages/app/views/storages/admin/storages/new.html.erb +++ b/modules/storages/app/views/storages/admin/storages/new.html.erb @@ -12,11 +12,9 @@ <%= label_new_file_storage %> <% end %> - <% header.with_back_button(href: admin_settings_storages_path, 'aria-label': I18n.t("button_back")) %> - - <% header.with_parent_link(href: admin_settings_storages_path, 'aria-label': I18n.t("button_back")) do %> - <%= t(:project_module_storages) %> - <% end %> + <% header.with_breadcrumbs([{ href: admin_index_path, text: t("label_administration")}, + { href: admin_settings_storages_path, text: t(:project_module_storages) }, + label_new_file_storage]) %> <% header.with_description(test_selector: 'storage-new-page-header--description') do %> <%=