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
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
Laurent S
erp5
Commits
4aaaff41
Commit
4aaaff41
authored
Jun 08, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: display language list when availables languages. are set
parent
009dcac9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
...mplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
+6
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
...TemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
+8
-4
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
View file @
4aaaff41
...
@@ -154,9 +154,10 @@
...
@@ -154,9 +154,10 @@
</h4>
\n
</h4>
\n
<div
class=
"ui-collapsible-content ui-collapsible-content-collapsed"
aria-hidden=
"true"
>
\n
<div
class=
"ui-collapsible-content ui-collapsible-content-collapsed"
aria-hidden=
"true"
>
\n
<fieldset
data-role=
"controlgroup"
>
\n
<fieldset
data-role=
"controlgroup"
>
\n
{{#each
document
_list}}\n
{{#each
language
_list}}\n
<form
method=
"POST"
action=
""
>
\n
<form
method=
"POST"
action=
""
>
\n
<div
class=
"ui-btn ui-input-btn ui-corner-all ui-shadow ui-btn-icon-right ui-icon-carat-r"
data-i18n=
"[node]{{lang}}"
>
\n
<div
class=
"ui-btn ui-input-btn ui-corner-all ui-shadow ui-btn-icon-right ui-icon-carat-r"
data-i18n=
"[node]{{lang}}"
>
\n
{{lang}}\n
\n
\n
<input
type=
"submit"
data-enhanced=
"true"
name=
"lang"
id=
"lang-{{count}}"
value=
"{{lang}}"
/>
\n
<input
type=
"submit"
data-enhanced=
"true"
name=
"lang"
id=
"lang-{{count}}"
value=
"{{lang}}"
/>
\n
</div>
\n
</div>
\n
...
@@ -304,7 +305,7 @@
...
@@ -304,7 +305,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
xiaowu
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -318,7 +319,7 @@
...
@@ -318,7 +319,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
94
2.20332.24952.65262
</string>
</value>
<value>
<string>
94
3.36089.56695.38741
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -336,7 +337,7 @@
...
@@ -336,7 +337,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14
29861586.7
</float>
<float>
14
33731300.43
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
View file @
4aaaff41
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
if (len >
0) {\n
if (len >
0) {\n
language_list = [];\n
language_list = [];\n
for (i = 0, i_len = len; i
< i_len
;
i
+=
1)
{\n
for (i = 0, i_len = len; i
< i_len
;
i
+=
1)
{\n
language_list.push({"count":
i,
"lang":
language_list[i]});\n
language_list.push({"count":
i,
"lang":
raw_
language_list[i]});\n
}\n
}\n
}\n
}\n
\n
\n
...
@@ -193,6 +193,10 @@
...
@@ -193,6 +193,10 @@
"language_list":
language_list,\n
"language_list":
language_list,\n
"logout_href":
all_result[3]\n
"logout_href":
all_result[3]\n
});\n
});\n
\n
if
(len
>
0) {\n
return g.translateHtml(tmp);\n
}\n
return tmp;\n
return tmp;\n
})\n
})\n
.push(function (my_translated_or_plain_html) {\n
.push(function (my_translated_or_plain_html) {\n
...
@@ -375,7 +379,7 @@
...
@@ -375,7 +379,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
xiaowu
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -389,7 +393,7 @@
...
@@ -389,7 +393,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
94
2.40517.64847.10325
</string>
</value>
<value>
<string>
94
3.36081.11434.7048
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -407,7 +411,7 @@
...
@@ -407,7 +411,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
143
0146351.8
</float>
<float>
143
3732853.87
</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