From bae99e2feecedf538f095e2c33e768b7cda66106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 7 Apr 2025 09:14:44 +0200 Subject: [PATCH] Move enterprise components to lookbook/components --- .../enterprise.md.erb} | 0 .../enterprise_edition/banner_component_preview.rb | 4 +--- .../enterprise_edition/upsale_page_component_preview.rb | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) rename lookbook/docs/{patterns/18-enterprise-components.md.erb => components/enterprise.md.erb} (100%) 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"