Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
1fb80f3e
Commit
1fb80f3e
authored
Nov 14, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use getWebSiteValue API.
parent
1fec952e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewRandomPageGadget.xml
...ortal_skins/erp5_gadget/ERP5Site_viewRandomPageGadget.xml
+4
-0
bt5/erp5_knowledge_pad/bt/revision
bt5/erp5_knowledge_pad/bt/revision
+1
-1
No files found.
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewRandomPageGadget.xml
View file @
1fb80f3e
...
...
@@ -90,6 +90,10 @@ if current_web_site is None and parent_web_section_url is not None:\n
# XXX-JPS This shows inconsistent API between async and non async mode\n
# Some unification is needed\n
current_web_site = portal.restrictedTraverse(parent_web_section_url).getWebSiteValue()\n
\n
if current_web_site is None:\n
current_web_site = context.getWebSiteValue()\n
\n
if current_web_site is None:\n
current_web_site = portal\n
\n
...
...
bt5/erp5_knowledge_pad/bt/revision
View file @
1fb80f3e
736
\ No newline at end of file
737
\ No newline at end of file
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