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
Use Primer PageHeader instead of simple h2 tag
Henriette Dargee945eec3b234
diff --git a/modules/costs/app/views/costlog/edit.html.erb b/modules/costs/app/views/costlog/edit.html.erbindex d0667c521dc..9ce3cdaab66 100644--- a/modules/costs/app/views/costlog/edit.html.erb+++ b/modules/costs/app/views/costlog/edit.html.erb@@ -28,7 +28,17 @@ See COPYRIGHT and LICENSE files for more details.++#%><% html_title t(:label_log_costs) %>-<h2><%= t(:label_log_costs) %></h2>++<%=+ render(Primer::OpenProject::PageHeader.new) do |header|+ header.with_title { I18n.t(:label_log_costs) }+ header.with_breadcrumbs(+ [({ href: project_overview_path(@project.id), text: @project.name }),+ ({ href: project_work_packages_path(@project), text: t(:label_work_package_plural) }),+ I18n.t(:label_log_costs)]+ )+ end+%><% url = if @cost_entry.new_record?{ action: "create", project_id: @project.id }