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
|
||||
- Replace function
|
||||
Search and replace
|
||||
todo: Administration - translation
|
||||
- Export function (download as file I guess)
|
||||
On Translation editor form
|
||||
- Import function
|
||||
|
||||
@@ -507,6 +507,9 @@ async function clickHandler(menuItem) {
|
||||
case "replace":
|
||||
m.vm.replaceDialog = true;
|
||||
break;
|
||||
case "export":
|
||||
alert("download stub");
|
||||
break;
|
||||
case "delete":
|
||||
m.vm.remove();
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user