diff --git a/src/public/app/entities/note_short.js b/src/public/app/entities/note_short.js index 39c0c712e..f7ca88c1d 100644 --- a/src/public/app/entities/note_short.js +++ b/src/public/app/entities/note_short.js @@ -14,7 +14,8 @@ const NOTE_TYPE_ICONS = { "render": "bx bx-extension", "search": "bx bx-file-find", "relation-map": "bx bx-map-alt", - "book": "bx bx-book" + "book": "bx bx-book", + "note-map": "bx bx-map-alt" }; /** diff --git a/src/public/app/layouts/desktop_layout.js b/src/public/app/layouts/desktop_layout.js index 02cba8895..bbb7db954 100644 --- a/src/public/app/layouts/desktop_layout.js +++ b/src/public/app/layouts/desktop_layout.js @@ -72,8 +72,8 @@ export default class DesktopLayout { .command("jumpToNote")) .child(new OpenNoteButtonWidget() .icon("bx-map-alt") - .title("Global link map") - .targetNote('globallinkmap')) + .title("Global note map") + .targetNote('globalnotemap')) .child(new ButtonWidget() .icon("bx-history") .title("Show recent changes") diff --git a/src/public/app/services/tree_context_menu.js b/src/public/app/services/tree_context_menu.js index 456b636c3..05ef111b3 100644 --- a/src/public/app/services/tree_context_menu.js +++ b/src/public/app/services/tree_context_menu.js @@ -30,6 +30,7 @@ class TreeContextMenu { { title: "Code", command: command, type: "code", uiIcon: "code" }, { title: "Saved search", command: command, type: "search", uiIcon: "file-find" }, { title: "Relation Map", command: command, type: "relation-map", uiIcon: "map-alt" }, + { title: "Note Map", command: command, type: "note-map", uiIcon: "map-alt" }, { title: "Render HTML note", command: command, type: "render", uiIcon: "extension" }, { title: "Book", command: command, type: "book", uiIcon: "book" } ]; diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js index a0e5019d3..3e50dd4ab 100644 --- a/src/public/app/widgets/note_detail.js +++ b/src/public/app/widgets/note_detail.js @@ -20,7 +20,7 @@ import ReadOnlyTextTypeWidget from "./type_widgets/read_only_text.js"; import ReadOnlyCodeTypeWidget from "./type_widgets/read_only_code.js"; import NoneTypeWidget from "./type_widgets/none.js"; import attributeService from "../services/attributes.js"; -import GlobalLinkMapTypeWidget from "./type_widgets/global_link_map.js"; +import NoteMapTypeWidget from "./type_widgets/note_map.js"; const TPL = `