Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

feat[#50499] Add parent link in edit and new page

Dominic Bräunlein2feb1f14bc0f
diff --git a/modules/storages/app/views/storages/admin/storages/edit.html.erb b/modules/storages/app/views/storages/admin/storages/edit.html.erb
index 5c455894759..9bb96fa0c71 100644
--- a/modules/storages/app/views/storages/admin/storages/edit.html.erb
+++ b/modules/storages/app/views/storages/admin/storages/edit.html.erb
@@ -39,7 +39,11 @@ See COPYRIGHT and LICENSE files for more details.
<% 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_actions do %>
<%=
primer_form_with(
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 2de44f42eb4..a103094a3ff 100644
--- a/modules/storages/app/views/storages/admin/storages/new.html.erb
+++ b/modules/storages/app/views/storages/admin/storages/new.html.erb
@@ -8,6 +8,12 @@
<%= t("storages.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_description do %>
<%=
t("storages.instructions.new_storage",