ui: add task descriptions for ACME related tasks
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9fe4c79005
commit
a7f8efcf35
|
@ -368,6 +368,15 @@ Ext.define('PBS.Utils', {
|
||||||
|
|
||||||
// do whatever you want here
|
// do whatever you want here
|
||||||
Proxmox.Utils.override_task_descriptions({
|
Proxmox.Utils.override_task_descriptions({
|
||||||
|
'acme-deactivate': (type, id) =>
|
||||||
|
Ext.String.format(gettext("Deactivate {0} Account"), 'ACME') + ` '${id || 'default'}'`,
|
||||||
|
'acme-register': (type, id) =>
|
||||||
|
Ext.String.format(gettext("Register {0} Account"), 'ACME') + ` '${id || 'default'}'`,
|
||||||
|
'acme-update': (type, id) =>
|
||||||
|
Ext.String.format(gettext("Update {0} Account"), 'ACME') + ` '${id || 'default'}'`,
|
||||||
|
'acme-new-cert': ['', gettext('Order Certificate')],
|
||||||
|
'acme-renew-cert': ['', gettext('Renew Certificate')],
|
||||||
|
'acme-revoke-cert': ['', gettext('Revoke Certificate')],
|
||||||
backup: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Backup')),
|
backup: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Backup')),
|
||||||
'barcode-label-media': [gettext('Drive'), gettext('Barcode-Label Media')],
|
'barcode-label-media': [gettext('Drive'), gettext('Barcode-Label Media')],
|
||||||
'catalog-media': [gettext('Drive'), gettext('Catalog Media')],
|
'catalog-media': [gettext('Drive'), gettext('Catalog Media')],
|
||||||
|
|
Loading…
Reference in New Issue