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 meeting breadcrumb in new page

Behrokh Satarnejad200d9e380c78
diff --git a/modules/boards/app/views/boards/boards/index.html.erb b/modules/boards/app/views/boards/boards/index.html.erb
index 33c4d40e6ec..f4b8c04b372 100644
--- a/modules/boards/app/views/boards/boards/index.html.erb
+++ b/modules/boards/app/views/boards/boards/index.html.erb
@@ -32,7 +32,7 @@ See COPYRIGHT and LICENSE files for more details.
<%=
render Primer::OpenProject::PageHeader.new do |header|
header.with_title { t("boards.label_boards") }
- header.with_breadcrumbs([{ href: home_path, text: organization_name},
+ header.with_breadcrumbs([{ href: home_path, text: organization_name },
*([href: project_overview_path(@project.id), text: @project.name] if @project),
t("boards.label_boards")])
end
diff --git a/modules/meeting/app/views/meetings/new.html.erb b/modules/meeting/app/views/meetings/new.html.erb
index 4f732bb526d..6a1abeaa7b2 100644
--- a/modules/meeting/app/views/meetings/new.html.erb
+++ b/modules/meeting/app/views/meetings/new.html.erb
@@ -42,7 +42,7 @@ See COPYRIGHT and LICENSE files for more details.
header.with_title { page_title }
header.with_breadcrumbs([@project.present? ?
{ href: project_overview_path(@project.id), text: @project.name } :
- { href: home_path, text: I18n.t(:label_home) },
+ { href: home_path, text: organization_name },
{ href: @project.present? ? project_meetings_path(@project.id) : meetings_path,
text: I18n.t(:label_meeting_plural) },
breadcrumb_element.html_safe])