Commit 237bbb83 authored by Romain Courteaud's avatar Romain Courteaud

Revert "WIP: change erp5 bootstrap conf"

This reverts commit e50d05af.
parent 9c3ce68e
...@@ -2376,7 +2376,7 @@ class ERP5Generator(PortalGenerator): ...@@ -2376,7 +2376,7 @@ class ERP5Generator(PortalGenerator):
# layer when installing new business templates. # layer when installing new business templates.
ps['custom'].manage_addProperty("business_template_skin_layer_priority", 100.0, "float") ps['custom'].manage_addProperty("business_template_skin_layer_priority", 100.0, "float")
skin_folders = ', '.join(('custom', 'external_method')) skin_folders = ', '.join(('custom', 'external_method'))
ps.addSkinSelection( 'ViewJS' ps.addSkinSelection( 'View'
, skin_folders , skin_folders
, make_default = 1 , make_default = 1
) )
...@@ -2559,8 +2559,7 @@ class ERP5Generator(PortalGenerator): ...@@ -2559,8 +2559,7 @@ class ERP5Generator(PortalGenerator):
""" """
template_tool = p.portal_templates template_tool = p.portal_templates
if template_tool.getInstalledBusinessTemplate('erp5_core') is None: if template_tool.getInstalledBusinessTemplate('erp5_core') is None:
for bt in ('erp5_property_sheets', 'erp5_core', p.erp5_catalog_storage, for bt in p.getCoreBusinessTemplateList():
'erp5_renderjs_style'):
if not bt: if not bt:
continue continue
url = getBootstrapBusinessTemplateUrl(bt) url = getBootstrapBusinessTemplateUrl(bt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment