Skip to content

Commit

Permalink
show correct breadcrumb in create a new storage page
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatarnejad committed Mar 28, 2024
1 parent 82364e1 commit c662b50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
<%=
Expand Down

0 comments on commit c662b50

Please sign in to comment.