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
update pageheader in calendars page
Behrokh Satarnejad966a9ce7f564
diff --git a/modules/calendar/app/views/calendar/calendars/index.html.erb b/modules/calendar/app/views/calendar/calendars/index.html.erbindex 70303fc1830..c21f5d03e8b 100644--- a/modules/calendar/app/views/calendar/calendars/index.html.erb+++ b/modules/calendar/app/views/calendar/calendars/index.html.erb@@ -28,8 +28,20 @@ See COPYRIGHT and LICENSE files for more details.++#%><% html_title(t(:label_calendar_plural)) -%>-<%= toolbar title: t(:label_calendar_plural) do %>- <%= render Calendar::AddButtonComponent.new(current_project: @project) %>-<% end %>+<%=+ render Primer::OpenProject::PageHeader.new do |header|+ header.with_title { t(:label_calendar_plural) }+ header.with_breadcrumbs([t(:label_calendar_plural)])+ end+%>++<%=+ render Primer::OpenProject::SubHeader.new do |subheader|+ subheader.with_action_component do+ render Calendar::AddButtonComponent.new(current_project: @project)+ end+ end+%>+<%= render ::Calendar::TableComponent.new(rows: @views, current_project: @project, current_user: current_user) %>