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

update page header in attachment tab in storages of a project

Behrokh Satarnejad29e336abc5f6
diff --git a/modules/storages/app/views/storages/project_settings/attachments.html.erb b/modules/storages/app/views/storages/project_settings/attachments.html.erb
index 5c806915050..fa590101bf8 100644
--- a/modules/storages/app/views/storages/project_settings/attachments.html.erb
+++ b/modules/storages/app/views/storages/project_settings/attachments.html.erb
@@ -31,7 +31,8 @@ See COPYRIGHT and LICENSE files for more details.
<%= render(Primer::OpenProject::PageHeader.new(border_bottom: 0)) do |header|
header.with_title { t("project_module_storages") }
- header.with_breadcrumbs([{ href: project_settings_general_path, text: t("label_project_settings") },
+ header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },
+ { href: project_settings_general_path, text: t("label_project_settings") },
t("project_module_storages")])
header.with_action_button(tag: :a,
href: new_project_settings_project_storage_path,