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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
show correct breadcrumb in calendars page for the time that there is a project selected
Behrokh Satarnejad9a3a7ee7c7f8
diff --git a/modules/calendar/app/views/calendar/calendars/index.html.erb b/modules/calendar/app/views/calendar/calendars/index.html.erbindex c21f5d03e8b..3c42a940289 100644--- a/modules/calendar/app/views/calendar/calendars/index.html.erb+++ b/modules/calendar/app/views/calendar/calendars/index.html.erb@@ -31,7 +31,9 @@ See COPYRIGHT and LICENSE files for more details.<%=render Primer::OpenProject::PageHeader.new do |header|header.with_title { t(:label_calendar_plural) }- header.with_breadcrumbs([t(:label_calendar_plural)])+ header.with_breadcrumbs([{ href: home_path, text: organization_name},+ *([href: project_overview_path(@project.id), text: @project.name] if @project),+ t(:label_calendar_plural)])end%>