diff --git a/@xen-orchestra/lite/CHANGELOG.md b/@xen-orchestra/lite/CHANGELOG.md index de6c13786..921f1f621 100644 --- a/@xen-orchestra/lite/CHANGELOG.md +++ b/@xen-orchestra/lite/CHANGELOG.md @@ -2,6 +2,8 @@ ## **next** +- Ability to snapshot/copy a VM from its view (PR [#7087](https://github.com/vatesfr/xen-orchestra/pull/7087)) + ## **0.1.4** (2023-10-03) - Ability to migrate selected VMs to another host (PR [#7040](https://github.com/vatesfr/xen-orchestra/pull/7040)) diff --git a/@xen-orchestra/lite/src/components/vm/VmActionItems/VmActionCopyItem.vue b/@xen-orchestra/lite/src/components/vm/VmActionItems/VmActionCopyItem.vue index cd32d2084..d2994c97c 100644 --- a/@xen-orchestra/lite/src/components/vm/VmActionItems/VmActionCopyItem.vue +++ b/@xen-orchestra/lite/src/components/vm/VmActionItems/VmActionCopyItem.vue @@ -1,6 +1,9 @@ + + + + + @@ -21,11 +38,15 @@ import TitleBar from "@/components/TitleBar.vue"; import UiIcon from "@/components/ui/icon/UiIcon.vue"; import UiButton from "@/components/ui/UiButton.vue"; import VmActionPowerStateItems from "@/components/vm/VmActionItems/VmActionPowerStateItems.vue"; +import VmActionSnapshotItem from "@/components/vm/VmActionItems/VmActionSnapshotItem.vue"; +import VmActionCopyItem from "@/components/vm/VmActionItems/VmActionCopyItem.vue"; import { useVmCollection } from "@/stores/xen-api/vm.store"; +import { vTooltip } from "@/directives/tooltip.directive"; import type { XenApiVm } from "@/libs/xen-api/xen-api.types"; import { faAngleDown, faDisplay, + faEllipsisVertical, faPowerOff, } from "@fortawesome/free-solid-svg-icons"; import { computed } from "vue"; @@ -40,3 +61,9 @@ const vm = computed(() => const name = computed(() => vm.value?.name_label); + + diff --git a/@xen-orchestra/lite/src/locales/en.json b/@xen-orchestra/lite/src/locales/en.json index d72f5a0e2..f92c45f01 100644 --- a/@xen-orchestra/lite/src/locales/en.json +++ b/@xen-orchestra/lite/src/locales/en.json @@ -86,6 +86,7 @@ "loading-hosts": "Loading hosts…", "log-out": "Log out", "login": "Login", + "more-actions": "More actions", "migrate": "Migrate", "migrate-n-vms": "Migrate 1 VM | Migrate {n} VMs", "n-hosts-awaiting-patch": "{n} host is awaiting this patch | {n} hosts are awaiting this patch", @@ -173,6 +174,7 @@ "vcpus": "vCPUs", "vcpus-used": "vCPUs used", "version": "Version", + "vm-is-running": "The VM is running", "vms": "VMs", "xo-lite-under-construction": "XOLite is under construction" } diff --git a/@xen-orchestra/lite/src/locales/fr.json b/@xen-orchestra/lite/src/locales/fr.json index 8804ee722..a2b3cf6e4 100644 --- a/@xen-orchestra/lite/src/locales/fr.json +++ b/@xen-orchestra/lite/src/locales/fr.json @@ -86,6 +86,7 @@ "loading-hosts": "Chargement des hôtes…", "log-out": "Se déconnecter", "login": "Connexion", + "more-actions": "Plus d'actions", "migrate": "Migrer", "migrate-n-vms": "Migrer 1 VM | Migrer {n} VMs", "n-hosts-awaiting-patch": "{n} hôte attend ce patch | {n} hôtes attendent ce patch", @@ -173,6 +174,7 @@ "vcpus": "vCPUs", "vcpus-used": "vCPUs utilisés", "version": "Version", + "vm-is-running": "La VM est en cours d'exécution", "vms": "VMs", "xo-lite-under-construction": "XOLite est en construction" }