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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
7409a2cc
Commit
7409a2cc
authored
Sep 17, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: keep the navigation history after using the logout page
parent
26496528
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.js
...eItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.js
+1
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.xml
...Item/web_page_module/rjs_gadget_erp5_pt_logoutform_js.xml
+2
-2
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageLogoutBackLink.zpt
...l_tests/renderjs_ui_page_zuite/testPageLogoutBackLink.zpt
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.js
View file @
7409a2cc
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
erp5_form
:
gadget
.
getDeclaredGadget
(
"
erp5_form
"
),
erp5_form
:
gadget
.
getDeclaredGadget
(
"
erp5_form
"
),
url_dict
:
gadget
.
getUrlForDict
({
url_dict
:
gadget
.
getUrlForDict
({
// Back url
// Back url
back
:
{
command
:
'
display
'
},
back
:
{
command
:
'
history_previous
'
},
// Change language
// Change language
change_language
:
{
command
:
'
display
'
,
options
:
{
page
:
'
language
'
}}
change_language
:
{
command
:
'
display
'
,
options
:
{
page
:
'
language
'
}}
})
})
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.xml
View file @
7409a2cc
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
99
2.849.18457.2065
</string>
</value>
<value>
<string>
99
4.55155.11493.60433
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
20831029.04
</float>
<float>
16
31866791.5
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageLogoutBackLink.zpt
View file @
7409a2cc
...
@@ -33,12 +33,12 @@
...
@@ -33,12 +33,12 @@
<!-- Header has a link to the front page -->
<!-- Header has a link to the front page -->
<tr>
<tr>
<td>
assertElementPresent
</td>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!
display
')]
</td>
<td>
//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!
history_previous
')]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!
display
')]
</td>
<td>
//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!
history_previous
')]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
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