]> git.proxmox.com Git - pmg-api.git/commit
fix #2606: ruledb disclaimer: add ability to set position
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 15 Jan 2024 11:12:38 +0000 (12:12 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Feb 2024 15:30:12 +0000 (16:30 +0100)
commitf35e144c594b07379f096d502e0ac22de63b7e57
tree8ce3806e45e394bf83dd3559bd2425a37a03509a
parent905a50b035ae7908bf61f10009d91450de11b6f7
fix #2606: ruledb disclaimer: add ability to set position

there are usecases, where one wants to embed a disclaimer (or similar)
text or html at the beginning of the mail content, not at the end.

so introduce a 'position' parameter for the disclaimer that does exactly
that.

internally this will get saved as `top` only if it is not the default of '0'.
We save it in the `Attribut` table in that case.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/RuleDB/Disclaimer.pm