This commit is contained in:
@@ -5,9 +5,7 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo: Administration - translation
|
todo: Administration - translation
|
||||||
- Replace function
|
|
||||||
Search and replace
|
|
||||||
- Export function (download as file I guess)
|
- Export function (download as file I guess)
|
||||||
On Translation editor form
|
On Translation editor form
|
||||||
- Import function
|
- Import function
|
||||||
|
|||||||
@@ -507,6 +507,9 @@ async function clickHandler(menuItem) {
|
|||||||
case "replace":
|
case "replace":
|
||||||
m.vm.replaceDialog = true;
|
m.vm.replaceDialog = true;
|
||||||
break;
|
break;
|
||||||
|
case "export":
|
||||||
|
alert("download stub");
|
||||||
|
break;
|
||||||
case "delete":
|
case "delete":
|
||||||
m.vm.remove();
|
m.vm.remove();
|
||||||
break;
|
break;
|
||||||
@@ -633,6 +636,13 @@ function generateMenu(vm) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "Export",
|
||||||
|
icon: "fa-file-download",
|
||||||
|
key: FORM_KEY + ":export",
|
||||||
|
vm: vm
|
||||||
|
});
|
||||||
|
|
||||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user