Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
19ebed0c
Commit
19ebed0c
authored
Oct 14, 2016
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI: update static version
parent
d7099932
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
dream/platform/static/dream/index.js
dream/platform/static/dream/index.js
+10
-2
dream/platform/static/manifest.appcache
dream/platform/static/manifest.appcache
+1
-1
No files found.
dream/platform/static/dream/index.js
View file @
19ebed0c
...
@@ -104,15 +104,23 @@
...
@@ -104,15 +104,23 @@
});
});
}
}
function
getNextStepLink
(
gadget
,
portal_type
,
options
)
{
function
getNextStepLink
(
gadget
,
portal_type
,
options
)
{
// We define `next_step_action` in the json
if
(
options
.
action_definition
.
next_step_action
!==
undefined
)
{
var
forward_kw
=
{
action
:
options
.
action_definition
.
next_step_action
,
id
:
options
.
id
};
return
gadget
.
aq_pleasePublishMyState
(
forward_kw
);
}
// in the first POC, we had this hardcoded
if
(
options
.
action
===
"
view_machine_shift_spreadsheet
"
)
{
if
(
options
.
action
===
"
view_machine_shift_spreadsheet
"
)
{
var
forward_kw
=
{
var
forward_kw
=
{
action
:
"
view_run_simulation
"
,
action
:
"
view_run_simulation
"
,
id
:
options
.
id
id
:
options
.
id
};
};
return
gadget
.
aq_pleasePublishMyState
(
forward_kw
);
return
gadget
.
aq_pleasePublishMyState
(
forward_kw
);
}
else
{
return
false
;
}
}
return
false
;
}
}
function
getTitle
(
gadget
,
portal_type
,
options
)
{
function
getTitle
(
gadget
,
portal_type
,
options
)
{
var
title
;
var
title
;
...
...
dream/platform/static/manifest.appcache
View file @
19ebed0c
CACHE MANIFEST
CACHE MANIFEST
# This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator
# This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator
# Time:
Wed Sep 16 2015 18:23:50
GMT+0200 (CEST)
# Time:
Fri Oct 14 2016 11:33:31
GMT+0200 (CEST)
CACHE:
CACHE:
daff/index.html
daff/index.html
...
...
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