Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
6b359d6d
Commit
6b359d6d
authored
Jul 13, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Keep data-i18n on the link
This help for UI tests be a bit translation independent.
parent
aeed3e90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_js.js
...emplateItem/web_page_module/rjs_gadget_slapos_panel_js.js
+1
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_js.xml
...mplateItem/web_page_module/rjs_gadget_slapos_panel_js.xml
+2
-2
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Base_getContextualHelpList.py
...skins/slapos_hal_json_style/Base_getContextualHelpList.py
+2
-0
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_js.js
View file @
6b359d6d
...
...
@@ -209,6 +209,7 @@
domsugar
(
"
a
"
,
{
"
class
"
:
"
help
"
,
"
target
"
:
"
_blank
"
,
"
data-i18n
"
:
contextual_help_list
[
i
][
"
data-i18n
"
],
"
href
"
:
contextual_help_list
[
i
].
href
,
"
text
"
:
contextual_help_list
[
i
].
title
})])
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_js.xml
View file @
6b359d6d
...
...
@@ -255,7 +255,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1001.
29209.47273.32204
</string>
</value>
<value>
<string>
1001.
36662.17855.30088
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -273,7 +273,7 @@
</tuple>
<state>
<tuple>
<float>
1657
231371.16
</float>
<float>
1657
677595.88
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Base_getContextualHelpList.py
View file @
6b359d6d
...
...
@@ -121,6 +121,8 @@ elif context.getPortalType() == "Organisation Module":
# Translate titles
for
contextual_help
in
contextual_help_list
:
# Preserve untranslated title for reference.
contextual_help
[
'data-i18n'
]
=
contextual_help
[
'title'
]
contextual_help
[
'title'
]
=
context
.
Base_translateString
(
contextual_help
[
'title'
])
return
json
.
dumps
(
contextual_help_list
)
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