]> git.proxmox.com Git - pmg-gui.git/commit
spam detector: custom rules: move apply/revert buttons to pending section
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Feb 2024 13:41:31 +0000 (14:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Feb 2024 13:41:35 +0000 (14:41 +0100)
commit536eb6e543d994cc6df347afdf5bca7b030c75b5
treee0baa6f103a14cb876216a9c10ae93cecf7de8fa
parent11bd23b8c90d50bc990b21de506a98081b78b9c8
spam detector: custom rules: move apply/revert buttons to pending section

Move the buttons for applying or reverting pending changes into the
top bar of the pending changes diff panel, as then they are closer to
what they control and also only shown when relevant.

Drop the odd hint w.r.t. restarting pmg-smtp-filter from the top-bar,
as we can convey that better in the prompt, where there is already a
check-box that defaults to restarting that service.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/SpamDetectorCustom.js