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
Fix error pages being styled incorrectly
Oliver Günther3962109282ad
diff --git a/app/views/layouts/only_logo.html.erb b/app/views/layouts/only_logo.html.erbindex 14fa3f9c4da..ca3bc3a0b1c 100644--- a/app/views/layouts/only_logo.html.erb+++ b/app/views/layouts/only_logo.html.erb@@ -34,7 +34,10 @@ See COPYRIGHT and LICENSE files for more details.<head><%= render partial: 'layouts/common_head' %></head>-<body>+<body+ class="<%= body_css_classes %>"+ <%= user_theme_data_attributes %>+><div id="wrapper"><header class="op-app-header<%= ' op-app-header_development' if OpenProject::Configuration.development_highlight_enabled? %>"><div class="op-app-header--center op-logo">diff --git a/config/application.rb b/config/application.rbindex 0422994fd7c..31298b2ed02 100644--- a/config/application.rb+++ b/config/application.rb@@ -113,6 +113,9 @@ module OpenProject# http://stackoverflow.com/questions/4590229config.middleware.use Rack::TempfileReaper+ # Move secure_headers middleware to after the ShowExceptions+ config.middleware.move_after ActionDispatch::ShowExceptions, SecureHeaders::Middleware+# Add lookbook preview paths when enabledif OpenProject::Configuration.lookbook_enabled?config.paths.add Primer::ViewComponents::Engine.root.join("app/components").to_s, eager_load: true