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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
523308c8
Commit
523308c8
authored
Nov 02, 2015
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Add back and breadcrumb links on the tabulation page
parent
7cb23b7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
27 deletions
+24
-27
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_appcache.xml
...TemplateItem/web_page_module/rjs_gadget_erp5_appcache.xml
+3
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
...ateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
+21
-24
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_appcache.xml
View file @
523308c8
...
...
@@ -102,7 +102,7 @@
<value>
<string
encoding=
"cdata"
>
<![CDATA[
CACHE MANIFEST\n
# generated on
Thu, 29 Oct 2015 14:10:37
+0000\n
# generated on
Mon, 02 Nov 2015 16:36:02
+0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
...
...
@@ -359,7 +359,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.
49074.40798.4676
</string>
</value>
<value>
<string>
946.
54980.2341.31249
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -377,7 +377,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
1446
127880.43
</float>
<float>
1446
482188.64
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
View file @
523308c8
...
...
@@ -146,15 +146,15 @@
/////////////////////////////////////////////////////////////////\n
.declareMethod("render", function (options) {\n
var view_list,\n
matching,\n
tab_list = [],\n
gadget = this;\n
gadget = this,\n
erp5_document;\n
\n
return gadget.jio_getAttachment(options.jio_key, "links")\n
.push(function (result) {\n
var erp5_document = result,\n
i,\n
var i,\n
promise_list = [];\n
erp5_document = result,\n
view_list = erp5_document._links.view;\n
\n
// All ERP5 document should at least have one view.\n
...
...
@@ -164,9 +164,6 @@
}\n
\n
for (i = 0; i < view_list.length; i += 1) {\n
if (options.view === view_list[i].href) {\n
matching = i;\n
}\n
promise_list.push(gadget.getUrlFor({command: \'change\', options: {\n
view: view_list[i].href,\n
editable: true,\n
...
...
@@ -209,19 +206,19 @@
.push(function (my_translated_html) {\n
gadget.props.element.innerHTML = my_translated_html;\n
\n
if (matching !== undefined) {
\n
return gadget.updateHeader(
{\n
cancel_url: tab_list[matching].link
\n
}
);
\n
}
\n
return gadget.getUrlFor({command: \'change\', options: {
\n
view: "view",
\n
editable: true
\n
}})
\n
.push(function (url) {
\n
return gadget.updateHeader({cancel_url: url});
\n
});
\n
\n
return RSVP.all([
\n
gadget.getUrlFor({command: \'change\', options:
{\n
page: undefined
\n
}
}),
\n
gadget.getUrlFor({command: \'change\', options: {page: "breadcrumb"}})
\n
]);
\n
})
\n
.push(function (url_list) {
\n
return gadget.updateHeader({
\n
back_url: url_list[0],
\n
page_title: erp5_document.title,
\n
breadcrumb_url: url_list[1]
\n
});
\n
});\n
});\n
\n
...
...
@@ -348,7 +345,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romain
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -362,7 +359,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.
30248.23538.25292
</string>
</value>
<value>
<string>
946.
54636.17447.21640
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -380,8 +377,8 @@
</tuple>
<state>
<tuple>
<float>
144
4998449.41
</float>
<string>
GMT
</string>
<float>
144
6461659.02
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
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