]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/panel/PruneKeepPanel.js
prune panel: allow to pass emptyText for keep-last
[proxmox-widget-toolkit.git] / src / panel / PruneKeepPanel.js
index 139d511c7e9016daa3d555841af7f8b08e2a7abc..5642602e6bf26eac3a845fd5736ffeec7a1e0605 100644 (file)
@@ -6,6 +6,8 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
     // set on use for now
     //onlineHelp: 'maintenance_pruning',
 
+    keepLastEmptyText: '',
+
     cbindData: function() {
        let me = this;
        me.isCreate = !!me.isCreate;
@@ -19,6 +21,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
            fieldLabel: gettext('keep-last'),
            cbind: {
                deleteEmpty: '{!isCreate}',
+               emptyText: '{keepLastEmptyText}',
            },
        },
        {