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
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
46adf031
Commit
46adf031
authored
Oct 11, 2024
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! erp5_web_renderjs_ui: Translate the content of the Maximize button
parent
82c748a4
Pipeline
#37387
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_button_maximize_js.js
...lateItem/web_page_module/rjs_gadget_button_maximize_js.js
+8
-12
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_button_maximize_js.xml
...ateItem/web_page_module/rjs_gadget_button_maximize_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_button_maximize_js.js
View file @
46adf031
...
...
@@ -14,18 +14,14 @@
.
onStateChange
(
function
(
modification_dict
)
{
var
gadget
=
this
;
if
(
!
gadget
.
state
.
button
)
{
return
gadget
.
translate
(
"
Maximize
"
)
.
push
(
function
(
translation
)
{
var
button
=
domsugar
(
"
button
"
,
{
"
class
"
:
"
ui-icon-expand ui-btn-icon-notext
"
,
"
type
"
:
"
button
"
,
"
text
"
:
translation
});
gadget
.
element
.
appendChild
(
button
);
gadget
.
state
.
button
=
button
;
});
}
return
gadget
.
translate
(
"
Maximize
"
)
.
push
(
function
(
translation
)
{
return
gadget
.
element
.
appendChild
(
domsugar
(
"
button
"
,
{
"
class
"
:
"
ui-icon-expand ui-btn-icon-notext
"
,
"
type
"
:
"
button
"
,
"
text
"
:
translation
}));
});
})
.
onEvent
(
'
click
'
,
function
(
event
)
{
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_button_maximize_js.xml
View file @
46adf031
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1019.5
8331.12367.6468
</string>
</value>
<value>
<string>
1019.5
9406.56317.53077
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>
1728
546925.73
</float>
<float>
1728
611478.5
</float>
<string>
UTC
</string>
</tuple>
</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