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

Fix page header element

Oliver Günther5937a4f8183e
diff --git a/app/components/notifications/index_page_header_component.rb b/app/components/notifications/index_page_header_component.rb
index c21893380b1..21c9a892497 100644
--- a/app/components/notifications/index_page_header_component.rb
+++ b/app/components/notifications/index_page_header_component.rb
@@ -47,7 +47,12 @@ module Notifications
end
def breadcrumb_items
- [page_title]
+ [parent_element,
+ page_title]
+ end
+
+ def parent_element
+ { href: home_path, text: I18n.t(:label_home) }
end
end
end