ui: prune all: add namespace info in title
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e3cda36ba5
commit
9ec82aefb4
|
@ -453,8 +453,11 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
|
|
||||||
if (!view.datastore) return;
|
if (!view.datastore) return;
|
||||||
|
|
||||||
|
let ns = view.namespace;
|
||||||
|
let titleNS = ns && ns !== '' ? `Namespace '${ns}' on ` : '';
|
||||||
|
|
||||||
Ext.create('Proxmox.window.Edit', {
|
Ext.create('Proxmox.window.Edit', {
|
||||||
title: `Prune Datastore '${view.datastore}'`,
|
title: `Prune ${titleNS}Datastore '${view.datastore}'`,
|
||||||
onlineHelp: 'maintenance_pruning',
|
onlineHelp: 'maintenance_pruning',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
submitText: "Prune",
|
submitText: "Prune",
|
||||||
|
@ -466,7 +469,7 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'pbsPruneInputPanel',
|
xtype: 'pbsPruneInputPanel',
|
||||||
ns: view.namespace,
|
ns,
|
||||||
dryrun: true,
|
dryrun: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue