ode-explorer 1.4.10 → 1.4.11-develop.202406111045

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
@@ -15,22 +15,18 @@
15
15
  <div id="portal"></div>
16
16
  <!-- SET INITIALISATION CONFIG -->
17
17
  <script>
18
- var WORFLOW_ACCESS =
19
- "net.atos.entng.mindmap.controllers.MindmapController|view";
18
+ var WORFLOW_ACCESS = "org.entcore.blog.controllers.BlogController|blog";
20
19
  var WORKFLOW_CREATE =
21
- "net.atos.entng.mindmap.controllers.MindmapController|create";
22
- var WORKFLOW_PRINT =
23
- "net.atos.entng.mindmap.controllers.MindmapController|printView";
24
- var WORKFLOW_EXPORT_PNG =
25
- "net.atos.entng.mindmap.controllers.MindmapController|exportPngMindmap";
26
- var WORKFLOW_EXPORT_SVG =
27
- "net.atos.entng.mindmap.controllers.MindmapController|exportSvgMindmap";
20
+ "org.entcore.blog.controllers.BlogController|create";
21
+ var WORKFLOW_CREATE_PUBLIC =
22
+ "org.entcore.blog.controllers.BlogController|createPublicBlog";
23
+ var WORKFLOW_PRINT = "org.entcore.blog.controllers.BlogController|print";
28
24
  var WORKFLOW_PUBLISH =
29
- "net.atos.entng.mindmap.controllers.MindmapController|publish";
25
+ "org.entcore.blog.controllers.BlogController|publish";
30
26
  var explorerConfig = {
31
- app: "mindmap",
32
- types: ["mindmap"],
33
- libraryAppFilter: "MindMap",
27
+ app: "blog",
28
+ types: ["blog"],
29
+ enableOnboarding: false,
34
30
  filters: [
35
31
  { id: "owner", defaultValue: true },
36
32
  { id: "public", defaultValue: false },
@@ -65,10 +61,9 @@
65
61
  target: "tree",
66
62
  },
67
63
  {
68
- id: "copy",
69
- workflow: WORFLOW_ACCESS,
70
- target: "actionbar",
71
- right: "read",
64
+ id: "createPublic",
65
+ workflow: WORKFLOW_CREATE_PUBLIC,
66
+ target: "tree",
72
67
  },
73
68
  {
74
69
  id: "move",
@@ -111,7 +106,6 @@
111
106
  right: "manager",
112
107
  },
113
108
  ],
114
- enableOnboarding: true,
115
109
  };
116
110
  ////
117
111
  var rootElement = document.querySelector("[data-explorer-config]");