Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matevz Golob
erp5
Commits
86f6c884
Commit
86f6c884
authored
Jun 07, 2011
by
François-Xavier Algrain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Base_canUserAddGadget
Add missing test 'isAnonymousKnowledgePadUsed'
parent
1ed91de3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_canUserAddGadget.xml
...portal_skins/erp5_knowledge_pad/Base_canUserAddGadget.xml
+2
-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_knowledge_pad/Base_canUserAddGadget.xml
View file @
86f6c884
...
@@ -58,8 +58,10 @@ request = context.REQUEST\n
...
@@ -58,8 +58,10 @@ request = context.REQUEST\n
portal = context.getPortalObject()\n
portal = context.getPortalObject()\n
list_mode = request.get(\'list_mode\', False)\n
list_mode = request.get(\'list_mode\', False)\n
dialog_mode = request.get(\'dialog_mode\', False)\n
dialog_mode = request.get(\'dialog_mode\', False)\n
isAnonymousKnowledgePadUsed = request.get(\'is_anonymous_knowledge_pad_used\', False)\n
\n
\n
if portal.portal_membership.isAnonymousUser() or \\\n
if portal.portal_membership.isAnonymousUser() or \\\n
isAnonymousKnowledgePadUsed or \\\n
list_mode == True or \\\n
list_mode == True or \\\n
dialog_mode == True:\n
dialog_mode == True:\n
return False\n
return False\n
...
...
bt5/erp5_knowledge_pad/bt/revision
View file @
86f6c884
719
720
\ No newline at end of file
\ 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