]> git.proxmox.com Git - pve-manager.git/commit
ui: prune edit: prepare for being re-used for backup jobs
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 6 Sep 2021 11:32:28 +0000 (13:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 Sep 2021 09:13:18 +0000 (11:13 +0200)
commit9c4c579725f5bfe084f629f310ee739be033fb08
treeb465e0633d51da40bd222fd454ac467eaa06f5bc
parent1bc75c2f82f219c6790d209e9724802aeb1fccb3
ui: prune edit: prepare for being re-used for backup jobs

1. Rename the isPBS variable to match the actual purpose. When editing
a backup job, the hint should not be shown, even if the storage is
PBS.

2. Allow specifying the text used for the fallback hint. For backup
jobs, the first fallback is the storage configuration, so the text
needs to be different there.

3. Make using keep-all=1 by default upon creation optional. For backup
jobs, the default should be "use fallback", i.e. no settings.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
www/manager6/panel/EditPruneInputPanel.js
www/manager6/storage/Base.js