Skip to content

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

Move enterprise components to lookbook/components

Oliver Güntherbae99e2feece
diff --git a/lookbook/docs/patterns/18-enterprise-components.md.erb b/lookbook/docs/components/enterprise.md.erb
similarity index 100%
rename from lookbook/docs/patterns/18-enterprise-components.md.erb
rename to lookbook/docs/components/enterprise.md.erb
diff --git a/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb b/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb
index 8bcfdbd3a19..56183a64296 100644
--- a/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb
+++ b/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb
@@ -40,12 +40,10 @@ module OpenProject
# title: "Enterprise add-on"
# upsale:
# [feature_key]:
- # # Title used for this feature only. If this is missing, the default title is used.
+ # # Title used for this feature only. If this is missing, the default feature key is used.
# title: "A splendid feature"
# # Could also be description_html if necessary
# description: "This is a splendid feature that you should use. It just might transform your life."
- # # Title of the link used for this feature only. If this is missing, the default link title is used.
- # title_link: "Even more information"
# # An unordered list of features
# features:
# some_key: "Some feature"
diff --git a/lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rb b/lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rb
index 2bb707db984..fbcf4cf20fc 100644
--- a/lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rb
+++ b/lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rb
@@ -47,8 +47,6 @@ module OpenProject
# title: "A splendid feature"
# # Could also be description_html if necessary
# description: "This is a splendid feature that you should use. It just might transform your life."
- # # Title of the link used for this feature only. If this is missing, the default link title is used.
- # title_link: "Even more information"
# # An unordered list of features
# features:
# some_key: "Some feature"