[pve-devel] [PATCH v3 widget-toolkit 4/4] utils: task_desc_table: add qmreassign

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Sep 21 14:09:15 CEST 2020


On 10.09.20 16:32, Aaron Lauterer wrote:
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
> rfc -> v1 -> v2 -> v3: nothing changed
> 
>  src/Utils.js | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/Utils.js b/src/Utils.js
> index 8595cce..af41f33 100644
> --- a/src/Utils.js
> +++ b/src/Utils.js
> @@ -587,6 +587,7 @@ utilities: {
>  	qmigrate: ['VM', gettext('Migrate')],
>  	qmclone: ['VM', gettext('Clone')],
>  	qmmove: ['VM', gettext('Move disk')],
> +	qmreassign: ['VM', gettext('Reassign disk')],
>  	qmtemplate: ['VM', gettext('Convert to template')],
>  	qmstart: ['VM', gettext('Start')],
>  	qmstop: ['VM', gettext('Stop')],
> 

I'd like to avoid adding new project specific task descriptions in widget toolkit.
Rather use the Proxmox.Utils.override_task_descriptions [0] in pve-manager to add
such project specific task descriptions. See Proxmox Backup Server UI for an usage
example [1].

[0]: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=blob;f=src/Utils.js;h=8595ccec41e00aed5790af1a6ad5cfcd0e35674c;hb=HEAD#l653
[1]: https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=www/Utils.js;h=7bcf1ba613fb6d0c52d7d862ba0d0264f1b738c0;hb=HEAD#l93






More information about the pve-devel mailing list