Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tatuya Kamada
erp5
Commits
45fa23e5
Commit
45fa23e5
authored
13 years ago
by
Ivan Tyagov
Browse files
Options
Download
Email Patches
Plain Diff
All this is managed by bt5 in
410fcbdb
parent
410fcbdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
22 deletions
+1
-22
bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
...rtal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
+0
-21
bt5/erp5_km_ui_test/bt/revision
bt5/erp5_km_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
View file @
45fa23e5
...
...
@@ -58,27 +58,6 @@ portal = context.getPortalObject()\n
# setup DMS settings\n
portal.Zuite_setupDMS()\n
\n
# publish web site so anonymous user may access it\n
km_web_site = portal.web_site_module.km_test_web_site\n
if km_web_site.getValidationState()!=\'published\':\n
km_web_site.publish()\n
\n
# publish the test web page so we can use it in tests for setting default WEb Section page\n
for reference in (\'minimal_km_footer\', \'km.web.site.test.page\',):\n
km_page = portal.portal_catalog.getResultValue(portal_type = \'Web Page\',\n
reference = reference)\n
if km_page.getValidationState()==\'draft\':\n
km_page.publish()\n
\n
# publish default knowledge pad \n
pad = portal.restrictedTraverse("knowledge_pad_module/erp5_km_public_front_pad")\n
if pad.getValidationState()!=\'public\':\n
pad.visible()\n
pad.public()\n
for box in pad.objectValues():\n
box.visible()\n
box.public()\n
\n
# clear cache so UI is regenarated\n
portal.portal_caches.clearAllCache()\n
\n
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_km_ui_test/bt/revision
View file @
45fa23e5
159
\ No newline at end of file
160
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment