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
Move styleguide layout to somewhere it's not breaking stuff
Oliver Günther4099cf5f26cb
diff --git a/app/assets/stylesheets/styleguide.layout.html.erb b/app/views/layouts/styleguide/styleguide.layout.html.erbsimilarity index 96%rename from app/assets/stylesheets/styleguide.layout.html.erbrename to app/views/layouts/styleguide/styleguide.layout.html.erbindex 20c1c91c36d..739fd3fb526 100644--- a/app/assets/stylesheets/styleguide.layout.html.erb+++ b/app/views/layouts/styleguide/styleguide.layout.html.erb@@ -1,6 +1,7 @@<!doctype html><html><head>+ <base href="/" /><meta charset="utf-8"><meta content="ie=edge" http-equiv="x-ua-compatible"><meta content="width=device-width,initial-scale=1" name="viewport">@@ -20,6 +21,11 @@background-color: white;}+ .lsg-code {+ display: block;+ margin: 10px 0;+ }+.styleguide-banner {height: 280px;padding: 200px 0 0;diff --git a/config/initializers/livingstyleguide_patches.rb b/config/initializers/livingstyleguide_patches.rbindex 4362883aa7a..9da0d21ed7b 100644--- a/config/initializers/livingstyleguide_patches.rb+++ b/config/initializers/livingstyleguide_patches.rb@@ -36,7 +36,7 @@ if defined?(LivingStyleGuide)# Define our own templatedef template_erbif @template == :layout- File.read(Rails.root.join('app/assets/stylesheets/styleguide.layout.html.erb'))+ File.read(Rails.root.join('app/views/layouts/styleguide/styleguide.layout.html.erb'))elsesuperend