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
Carlos Ramos Carreño
slapos.core
Commits
c6c8ff1e
Commit
c6c8ff1e
authored
Jun 12, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Implement ticket_view with translated_simulation_state_title and update translation_data
See merge request
nexedi/slapos.core!229
parents
f7a543bb
8890d22f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
122 additions
and
9 deletions
+122
-9
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.js
...b_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.js
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.xml
..._page_module/rjs_gadget_erp5_page_slap_ticket_view_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.js
.../web_page_module/rjs_gadget_slapos_translation_data_js.js
+19
-3
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.xml
...web_page_module/rjs_gadget_slapos_translation_data_js.xml
+2
-2
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Ticket_viewAsHateoas.xml
...rtal_skins/slapos_hal_json_style/Ticket_viewAsHateoas.xml
+1
-0
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Ticket_viewAsHateoas/my_translated_simulation_state_title.xml
...et_viewAsHateoas/my_translated_simulation_state_title.xml
+96
-0
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.js
View file @
c6c8ff1e
...
@@ -179,11 +179,11 @@
...
@@ -179,11 +179,11 @@
"
my_simulation_state
"
:
{
"
my_simulation_state
"
:
{
"
description
"
:
""
,
"
description
"
:
""
,
"
title
"
:
result
[
1
][
5
],
"
title
"
:
result
[
1
][
5
],
"
default
"
:
gadget
.
state
.
doc
.
simulation_state_title
,
"
default
"
:
gadget
.
state
.
doc
.
translated_
simulation_state_title
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
required
"
:
1
,
"
editable
"
:
0
,
"
editable
"
:
0
,
"
key
"
:
"
simulation_stat
e
"
,
"
key
"
:
"
translated_simulation_state_titl
e
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
},
},
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.xml
View file @
c6c8ff1e
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
2.32558.21529.45158
</string>
</value>
<value>
<string>
98
4.31603.59902.62276
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
84354056.49
</float>
<float>
15
91824165.21
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.js
View file @
c6c8ff1e
...
@@ -363,7 +363,15 @@
...
@@ -363,7 +363,15 @@
"
Telephone
"
:
"
Telephone
"
,
"
Telephone
"
:
"
Telephone
"
,
"
Address
"
:
"
Address
"
,
"
Address
"
:
"
Address
"
,
"
Postal Code
"
:
"
Postal Code
"
,
"
Postal Code
"
:
"
Postal Code
"
,
"
City
"
:
"
City
"
"
City
"
:
"
City
"
,
"
User
"
:
"
User
"
,
"
Opened
"
:
"
Opened
"
,
"
Suspended
"
:
"
Suspended
"
,
"
Submitted
"
:
"
Submitted
"
,
"
Cancelled
"
:
"
Cancelled
"
,
"
Closed
"
:
"
Closed
"
,
"
Deleted
"
:
"
Deleted
"
,
"
Draft
"
:
"
Draft
"
},
},
"
zh
"
:
{
"
zh
"
:
{
"
Title
"
:
"
标题
"
,
"
Title
"
:
"
标题
"
,
...
@@ -462,7 +470,7 @@
...
@@ -462,7 +470,7 @@
"
Fail...
"
:
"
失败...
"
,
"
Fail...
"
:
"
失败...
"
,
"
2/3 Select one Release
"
:
"
2/3 选择一个发布
"
,
"
2/3 Select one Release
"
:
"
2/3 选择一个发布
"
,
"
Longitude
"
:
"
经度
"
,
"
Longitude
"
:
"
经度
"
,
"
Regularisation Request:
"
:
"
正则要
求:
"
,
"
Regularisation Request:
"
:
"
合规化请
求:
"
,
"
Trade Condition
"
:
"
贸易条款
"
,
"
Trade Condition
"
:
"
贸易条款
"
,
"
Previous
"
:
"
上一页
"
,
"
Previous
"
:
"
上一页
"
,
"
Network
"
:
"
网络
"
,
"
Network
"
:
"
网络
"
,
...
@@ -724,7 +732,15 @@
...
@@ -724,7 +732,15 @@
"
Telephone
"
:
"
电话号码
"
,
"
Telephone
"
:
"
电话号码
"
,
"
Address
"
:
"
地址
"
,
"
Address
"
:
"
地址
"
,
"
Postal Code
"
:
"
邮编
"
,
"
Postal Code
"
:
"
邮编
"
,
"
City
"
:
"
城市
"
"
City
"
:
"
城市
"
,
"
User
"
:
"
用户
"
,
"
Opened
"
:
"
已开启
"
,
"
Suspended
"
:
"
已暂停
"
,
"
Submitted
"
:
"
已递交
"
,
"
Cancelled
"
:
"
已取消
"
,
"
Closed
"
:
"
已终止
"
,
"
Deleted
"
:
"
已删除
"
,
"
Draft
"
:
"
草拟
"
}
}
};
};
}(
window
));
}(
window
));
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.xml
View file @
c6c8ff1e
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
3.48431.41868.27426
</string>
</value>
<value>
<string>
98
4.31273.50577.64750
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
88980555.44
</float>
<float>
15
91825398.38
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Ticket_viewAsHateoas.xml
View file @
c6c8ff1e
...
@@ -104,6 +104,7 @@
...
@@ -104,6 +104,7 @@
<string>
my_simulation_state_title
</string>
<string>
my_simulation_state_title
</string>
<string>
my_destination_decision
</string>
<string>
my_destination_decision
</string>
<string>
my_source
</string>
<string>
my_source
</string>
<string>
my_translated_simulation_state_title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Ticket_viewAsHateoas/my_translated_simulation_state_title.xml
0 → 100644
View file @
c6c8ff1e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_translated_simulation_state_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Resource
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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