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
9b624450
Commit
9b624450
authored
May 28, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: easily allow user to see his preference list
parent
f6407fdb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
9 deletions
+15
-9
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_html.html
...m/web_page_module/rjs_gadget_erp5_pt_my_account_html.html
+1
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_html.xml
...em/web_page_module/rjs_gadget_erp5_pt_my_account_html.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_js.js
...eItem/web_page_module/rjs_gadget_erp5_pt_my_account_js.js
+10
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_js.xml
...Item/web_page_module/rjs_gadget_erp5_pt_my_account_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_html.html
View file @
9b624450
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<!--
<!--
data-i18n=Active Preference
data-i18n=Preferences
data-i18n=Preferences
data-i18n=Language
data-i18n=Language
data-i18n=Profile
data-i18n=Profile
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_html.xml
View file @
9b624450
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.6
1047.58814.5416
9
</string>
</value>
<value>
<string>
994.6
2318.46378.1064
9
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
632221574.4
9
</float>
<float>
1
716899361.9
9
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_js.js
View file @
9b624450
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
return
RSVP
.
hash
({
return
RSVP
.
hash
({
translation
:
gadget
.
getTranslationDict
([
translation
:
gadget
.
getTranslationDict
([
'
Active Preference
'
,
'
Preferences
'
,
'
Preferences
'
,
'
Language
'
,
'
Language
'
,
'
Profile
'
,
'
Profile
'
,
...
@@ -50,8 +51,6 @@
...
@@ -50,8 +51,6 @@
// Calculate user name
// Calculate user name
if
(
result
===
undefined
)
{
if
(
result
===
undefined
)
{
user
=
null
;
user
=
null
;
}
else
if
(
result
.
data
.
rows
.
length
===
0
)
{
user
=
null
;
}
else
{
}
else
{
user
=
result
.
data
.
rows
[
0
].
value
.
title
;
user
=
result
.
data
.
rows
[
0
].
value
.
title
;
}
}
...
@@ -60,8 +59,10 @@
...
@@ -60,8 +59,10 @@
url_dict
:
gadget
.
getUrlForDict
({
url_dict
:
gadget
.
getUrlForDict
({
// Back url
// Back url
back
:
{
command
:
'
history_previous
'
},
back
:
{
command
:
'
history_previous
'
},
preference
:
{
command
:
'
push_history
'
,
my_preference
:
{
command
:
'
push_history
'
,
options
:
{
page
:
"
preference
"
}},
options
:
{
page
:
"
preference
"
}},
portal_preference
:
{
command
:
'
push_history
'
,
options
:
{
jio_key
:
"
portal_preferences
"
}},
person
:
{
command
:
'
push_history
'
,
person
:
{
command
:
'
push_history
'
,
options
:
{
jio_key
:
me_relative_url
}},
options
:
{
jio_key
:
me_relative_url
}},
// Change language
// Change language
...
@@ -75,7 +76,11 @@
...
@@ -75,7 +76,11 @@
domsugar
(
gadget
.
element
.
querySelector
(
'
.document_list
'
),
[
domsugar
(
gadget
.
element
.
querySelector
(
'
.document_list
'
),
[
domsugar
(
'
ul
'
,
{
'
class
'
:
'
document-listview
'
},
[
domsugar
(
'
ul
'
,
{
'
class
'
:
'
document-listview
'
},
[
domsugar
(
'
li
'
,
[
domsugar
(
'
li
'
,
[
domsugar
(
'
a
'
,
{
href
:
result_dict
.
url_dict
.
preference
,
domsugar
(
'
a
'
,
{
href
:
result_dict
.
url_dict
.
my_preference
,
text
:
result_dict
.
translation
[
'
Active Preference
'
]})
]),
domsugar
(
'
li
'
,
[
domsugar
(
'
a
'
,
{
href
:
result_dict
.
url_dict
.
portal_preference
,
text
:
result_dict
.
translation
.
Preferences
})
text
:
result_dict
.
translation
.
Preferences
})
]),
]),
(
me_relative_url
===
undefined
)
?
''
:
(
me_relative_url
===
undefined
)
?
''
:
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_my_account_js.xml
View file @
9b624450
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
998.18207.59213.64375
</string>
</value>
<value>
<string>
1014.4857.18905.5273
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
667992189.61
</float>
<float>
1
716899348.27
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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