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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
9d9bb500
Commit
9d9bb500
authored
Dec 25, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run_my_doc: rename ERP5RunMyDocs_acquireSession
parent
57cc0393
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5Site_acquireRunMyDocsSession.py
...skins/erp5_run_my_doc/ERP5Site_acquireRunMyDocsSession.py
+0
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5Site_acquireRunMyDocsSession.xml
...kins/erp5_run_my_doc/ERP5Site_acquireRunMyDocsSession.xml
+1
-1
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_createChapter.py
...tal_skins/erp5_run_my_doc/TestPageModule_createChapter.py
+1
-1
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_createTestPage.py
...al_skins/erp5_run_my_doc/TestPageModule_createTestPage.py
+1
-1
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_finishCreation.py
...al_skins/erp5_run_my_doc/TestPageModule_finishCreation.py
+1
-1
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_getPreviousChapterList.py
.../erp5_run_my_doc/TestPageModule_getPreviousChapterList.py
+1
-1
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5
RunMyDocs_acquire
Session.py
→
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5
Site_acquireRunMyDocs
Session.py
View file @
9d9bb500
File moved
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5
RunMyDocs_acquire
Session.xml
→
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5
Site_acquireRunMyDocs
Session.xml
View file @
9d9bb500
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5
RunMyDocs_acquire
Session
</string>
</value>
<value>
<string>
ERP5
Site_acquireRunMyDocs
Session
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_createChapter.py
View file @
9d9bb500
...
@@ -10,7 +10,7 @@ portal_status_message = ""
...
@@ -10,7 +10,7 @@ portal_status_message = ""
if
image_caption
in
[
None
,
""
]:
if
image_caption
in
[
None
,
""
]:
image_caption
=
chapter_title
image_caption
=
chapter_title
session
=
context
.
ERP5
RunMyDocs_acquire
Session
()
session
=
context
.
ERP5
Site_acquireRunMyDocs
Session
()
if
session
.
has_key
(
'listbox'
)
and
len
(
session
[
'listbox'
])
>
0
:
if
session
.
has_key
(
'listbox'
)
and
len
(
session
[
'listbox'
])
>
0
:
listbox
=
session
[
'listbox'
]
listbox
=
session
[
'listbox'
]
int_index
=
listbox
[
-
1
].
int_index
+
1
int_index
=
listbox
[
-
1
].
int_index
+
1
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_createTestPage.py
View file @
9d9bb500
...
@@ -15,7 +15,7 @@ portal_status_message = translateString("%s created. You can now add your first
...
@@ -15,7 +15,7 @@ portal_status_message = translateString("%s created. You can now add your first
page
=
context
.
newContent
(
portal_type
=
portal_type
,
page
=
context
.
newContent
(
portal_type
=
portal_type
,
title
=
title
)
title
=
title
)
session
=
context
.
ERP5
RunMyDocs_acquire
Session
()
session
=
context
.
ERP5
Site_acquireRunMyDocs
Session
()
session
[
'title'
]
=
title
session
[
'title'
]
=
title
session
[
'author'
]
=
author
session
[
'author'
]
=
author
session
[
'author_mail'
]
=
author_mail
session
[
'author_mail'
]
=
author_mail
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_finishCreation.py
View file @
9d9bb500
...
@@ -9,7 +9,7 @@ context.TestPageModule_createChapter(chapter_title, slide_type, image_url, image
...
@@ -9,7 +9,7 @@ context.TestPageModule_createChapter(chapter_title, slide_type, image_url, image
portal_status_message
=
""
portal_status_message
=
""
session
=
context
.
ERP5
RunMyDocs_acquire
Session
()
session
=
context
.
ERP5
Site_acquireRunMyDocs
Session
()
test_page
=
context
.
restrictedTraverse
(
session
[
'test_page_path'
])
test_page
=
context
.
restrictedTraverse
(
session
[
'test_page_path'
])
listbox
=
session
[
'listbox'
]
listbox
=
session
[
'listbox'
]
title
=
session
[
'title'
]
title
=
session
[
'title'
]
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_getPreviousChapterList.py
View file @
9d9bb500
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
Fetches the listbox from session variables
Fetches the listbox from session variables
"""
"""
session
=
context
.
ERP5
RunMyDocs_acquire
Session
()
session
=
context
.
ERP5
Site_acquireRunMyDocs
Session
()
if
session
.
has_key
(
'listbox'
):
if
session
.
has_key
(
'listbox'
):
listbox
=
session
[
'listbox'
]
listbox
=
session
[
'listbox'
]
else
:
else
:
...
...
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