This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 0337ec3f4f72dc5e841e0ad26cfff754cdc8039c
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Mar 29 20:22:33 2021 +0200

    tweak the email editor's design and notices
---
 webui/js/source/mgmt.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/webui/js/source/mgmt.js b/webui/js/source/mgmt.js
index 2499170..be66ea9 100644
--- a/webui/js/source/mgmt.js
+++ b/webui/js/source/mgmt.js
@@ -54,7 +54,7 @@ async function admin_save_email() {
 function admin_email_preview(stats, json) {
     admin_current_email = json.mid;
     let cp = document.getElementById("panel");
-    let div = new HTML('div');
+    let div = new HTML('div', { style: { margin: '5px'}});
     cp.inject(div);
 
     div.inject(new HTML('h1', {}, "Editing email " + json.mid + ":"));
@@ -122,12 +122,14 @@ function admin_email_preview(stats, json) {
     div.inject(text);
 
     let btn_edit = new HTML('button', {onclick: "admin_save_email();"}, "Save 
changes to archive");
-    let btn_hide = new HTML('button', {onclick: "admin_hide_email();", style: 
{marginLeft: "24px", color: 'red'}}, "Remove email from archives*");
+    let btn_hide = new HTML('button', {onclick: "admin_hide_email();", style: 
{marginLeft: "36px", color: 'red'}}, "Remove email from archives");
     div.inject(new HTML('br'));
     div.inject(btn_edit);
     div.inject(btn_hide);
     div.inject(new HTML('br'));
-    div.inject(new HTML('small', {}, "* Emails that are removed may still be 
recovered by the base system administrator. For complete expungement, please 
contact the system administrator."))
+    div.inject(new HTML('small', {}, "Modifying emails will remove the option 
to view their sources via the web interface, as the source may contain traces 
that reveal the edit."))
+    div.inject(new HTML('br'));
+    div.inject(new HTML('small', {}, "Emails that are removed may still be 
recovered by the base system administrator. For complete expungement, please 
contact the system administrator."))
 }
 
 function admin_init() {

Reply via email to