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
1
Issues
1
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
Roque
erp5
Commits
0842eda3
Commit
0842eda3
authored
Aug 12, 2014
by
Sven Franck
Committed by
Sebastien Robin
Aug 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move tab gadget one level up onto erp5 gadget
parent
d173a863
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
28 deletions
+21
-28
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_list_html.xml
...tem/web_page_module/rjs_gadget_erp5_pt_form_list_html.xml
+3
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_view_html.xml
...tem/web_page_module/rjs_gadget_erp5_pt_form_view_html.xml
+3
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_view_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_form_view_js.xml
+4
-12
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_tab_list_js.xml
...plateItem/web_page_module/rjs_gadget_erp5_tab_list_js.xml
+10
-6
bt5/erp5_web_renderjs_ui/bt/revision
bt5/erp5_web_renderjs_ui/bt/revision
+1
-1
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_list_html.xml
View file @
0842eda3
...
...
@@ -254,7 +254,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.
36329.11895.39031
</string>
</value>
<value>
<string>
936.
46405.53164.22289
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -286,7 +286,7 @@
</tuple>
<state>
<tuple>
<float>
140
6812401.15
</float>
<float>
140
7339467.24
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_view_html.xml
View file @
0842eda3
...
...
@@ -129,10 +129,7 @@
\n
</head>
\n
<body>
\n
<div
data-gadget-url=
"gadget_erp5_tab_list.html"
\n
data-gadget-scope=
"erp5_tab"
\n
data-gadget-sandbox=
"public"
>
\n
</div>
\n
\n
<!-- XXX action, method, fieldset -->
\n
<form
class=
"save_form"
>
\n
<button
type=
"submit"
class=
"ui-btn ui-btn-b ui-btn-inline\n
...
...
@@ -286,7 +283,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.
43414.60024.22664
</string>
</value>
<value>
<string>
936.
54726.55391.8362
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -304,7 +301,7 @@
</tuple>
<state>
<tuple>
<float>
1407
158686.32
</float>
<float>
1407
836841.44
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_view_js.xml
View file @
0842eda3
...
...
@@ -169,14 +169,12 @@
.push(function () {\n
return RSVP.all([\n
form_gadget.getDeclaredGadget("erp5_form"),\n
form_gadget.getDeclaredGadget("erp5_tab"),\n
RSVP.all(promise_list)\n
]);\n
})\n
.push(function (all_gadget) {\n
var form_options = options.erp5_form || {},\n
tab_options = options.erp5_tag || {},\n
all_result = all_gadget[2],\n
all_result = all_gadget[1],\n
actionlist = [],\n
class_list,\n
i;\n
...
...
@@ -184,11 +182,6 @@
form_options.erp5_document = options.erp5_document;\n
form_options.form_definition = options.form_definition;\n
form_options.view = options.view;\n
\n
tab_options.erp5_document = options.erp5_document;\n
tab_options.form_definition = options.form_definition;\n
tab_options.view = options.view;\n
tab_options.action_view = options.action_view;\n
\n
for (i = 0; i < all_result.length; i += 1) {\n
switch (i) {\n
...
...
@@ -213,7 +206,6 @@
\n
\n
return RSVP.all([\n
all_gadget[1].render(tab_options),\n
all_gadget[0].render(form_options),\n
]);\n
});\n
...
...
@@ -367,7 +359,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romai
n
</string>
</value>
<value>
<string>
sve
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -381,7 +373,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.
48947.19194.2693
1
</string>
</value>
<value>
<string>
936.
54729.48588.2937
1
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -399,7 +391,7 @@
</tuple>
<state>
<tuple>
<float>
1407
492656.27
</float>
<float>
1407
836873.52
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_tab_list_js.xml
View file @
0842eda3
...
...
@@ -150,16 +150,20 @@
var nav_element = this.props.element.querySelector(".grid-container"),\n
erp5_document = options.erp5_document,\n
view_list = erp5_document._links[options.action_view],\n
i,\n
nav_html = \'<nav data-role="navbar">
<ul
class=
"grid-items"
>
\',\n
promise_list = [];\n
promise_list = [],\n
i;\n
\n
// no views\n
if (view_list === undefined) {\n
return;\n
}\n
\n
if (view_list.constructor !== Array) {\n
view_list = [view_list];\n
}\n
\n
for (i = 0; i
< view_list.length
;
i
+=
1)
{\n
\n
promise_list.push(this.whoWantToDisplayThisPage({\n
name:
view_list[i].name\n
}));
\n
...
...
@@ -313,7 +317,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romai
n
</string>
</value>
<value>
<string>
sve
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -327,7 +331,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.
48950.45876.44202
</string>
</value>
<value>
<string>
936.
54744.40513.43571
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -345,7 +349,7 @@
</tuple>
<state>
<tuple>
<float>
1407
492676.5
5
</float>
<float>
1407
838655.1
5
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/bt/revision
View file @
0842eda3
47
\ No newline at end of file
48
\ No newline at end of file
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