ode-explorer 1.3.3 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -7,9 +7,6 @@
7
7
  <link rel="icon" id="favicon" href="" />
8
8
  <link rel="stylesheet" href="/assets/themes/edifice-bootstrap/index.css" />
9
9
  <script type="module" crossorigin src="/index.js"></script>
10
- <link rel="modulepreload" crossorigin href="/react.js">
11
- <link rel="modulepreload" crossorigin href="/edifice-icons.js">
12
- <link rel="modulepreload" crossorigin href="/edifice-react.js">
13
10
  </head>
14
11
 
15
12
  <body class="app-react" data-explorer-config>
@@ -18,20 +15,16 @@
18
15
  <div id="portal"></div>
19
16
  <!-- SET INITIALISATION CONFIG -->
20
17
  <script>
21
- var WORFLOW_ACCESS =
22
- "fr.wseduc.scrapbook.controllers.ScrapbookController|view";
18
+ var WORFLOW_ACCESS = "org.entcore.blog.controllers.BlogController|blog";
23
19
  var WORKFLOW_CREATE =
24
- "fr.wseduc.scrapbook.controllers.ScrapbookController|createScrapbook";
20
+ "org.entcore.blog.controllers.BlogController|create";
25
21
  var WORKFLOW_PUBLISH =
26
- "fr.wseduc.scrapbook.controllers.ScrapbookController|publish";
27
- var WORKFLOW_PRINT =
28
- "fr.wseduc.scrapbook.controllers.ScrapbookController|print";
29
- var WORKFLOW_EXPORT_HTML =
30
- "fr.wseduc.scrapbook.controllers.ScrapbookController|exportHtml";
22
+ "org.entcore.blog.controllers.BlogController|publish";
23
+ var WORKFLOW_PRINT = "org.entcore.blog.controllers.BlogController|print";
31
24
  ///////////
32
25
  var explorerConfig = {
33
- app: "scrapbook",
34
- types: ["scrapbook"],
26
+ app: "blog",
27
+ types: ["blog"],
35
28
  filters: [
36
29
  { id: "owner", defaultValue: true },
37
30
  { id: "public", defaultValue: false },
@@ -65,12 +58,12 @@
65
58
  workflow: WORKFLOW_CREATE,
66
59
  target: "tree",
67
60
  },
68
- /*{
69
- id: "duplicate",
70
- workflow: WORFLOW_ACCESS,
71
- target: "actionbar",
72
- right: "tree",
73
- },*/
61
+ {
62
+ id: "createPublic",
63
+ workflow:
64
+ "org.entcore.blog.controllers.BlogController|createPublicBlog",
65
+ target: "tree",
66
+ },
74
67
  {
75
68
  id: "move",
76
69
  workflow: WORFLOW_ACCESS,
@@ -89,12 +82,6 @@
89
82
  target: "actionbar",
90
83
  right: "read",
91
84
  },
92
- {
93
- id: "export",
94
- workflow: WORKFLOW_EXPORT_HTML,
95
- target: "actionbar",
96
- right: "read",
97
- },
98
85
  {
99
86
  id: "delete",
100
87
  workflow: WORFLOW_ACCESS,