From e7c591450993e01ccaffbca3f830a7687eb12f28 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Tue, 4 Feb 2020 10:54:22 +0000
Subject: [PATCH] erp5_web: hide Static Web Section/Site from UI

---
 .../hidden_content_type_list.xml                          | 8 ++++++++
 .../bt/template_portal_type_hidden_content_type_list      | 2 ++
 2 files changed, 10 insertions(+)
 create mode 100644 bt5/erp5_web/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
 create mode 100644 bt5/erp5_web/bt/template_portal_type_hidden_content_type_list

diff --git a/bt5/erp5_web/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_web/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
new file mode 100644
index 0000000000..8c7619fd34
--- /dev/null
+++ b/bt5/erp5_web/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
@@ -0,0 +1,8 @@
+<hidden_content_type_list>
+ <portal_type id="Web Site">
+  <item>Static Web Section</item>
+ </portal_type>
+ <portal_type id="Web Site Module">
+  <item>Static Web Site</item>
+ </portal_type>
+</hidden_content_type_list>
\ No newline at end of file
diff --git a/bt5/erp5_web/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_web/bt/template_portal_type_hidden_content_type_list
new file mode 100644
index 0000000000..20637db5c7
--- /dev/null
+++ b/bt5/erp5_web/bt/template_portal_type_hidden_content_type_list
@@ -0,0 +1,2 @@
+Web Site Module | Static Web Site
+Web Site | Static Web Section
\ No newline at end of file
-- 
2.30.9