ui: prune group: add NS info to title
restructure it a bit for better UX Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a3d61f3fba
commit
5d05f334f1
@ -257,9 +257,11 @@ Ext.define('PBS.DataStorePrune', {
|
||||
throw "no backup_id specified";
|
||||
}
|
||||
|
||||
let ns = me.ns && me.ns !== '' ? `${me.ns} ` : '';
|
||||
|
||||
Ext.apply(me, {
|
||||
url: '/api2/extjs/admin/datastore/' + me.datastore + "/prune",
|
||||
title: `Prune Group '${me.datastore}:${me.backup_type}/${me.backup_id}'`,
|
||||
title: `Prune Group '${me.backup_type}/${me.backup_id}' on '${me.datastore}:${ns}'`,
|
||||
items: [{
|
||||
xtype: 'pbsDataStorePruneInputPanel',
|
||||
url: '/api2/extjs/admin/datastore/' + me.datastore + "/prune",
|
||||
|
Loading…
Reference in New Issue
Block a user