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 8ce68b7669044f1b1678fea37ff03368bd03f5cc
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Mar 29 20:05:27 2021 +0200

    reword visibility element
---
 webui/js/source/mgmt.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/webui/js/source/mgmt.js b/webui/js/source/mgmt.js
index 7099724..2499170 100644
--- a/webui/js/source/mgmt.js
+++ b/webui/js/source/mgmt.js
@@ -90,10 +90,10 @@ function admin_email_preview(stats, json) {
 
     // Private email?
     let priv_field = new HTML('div', {class: 'email_kv_edit'});
-    let priv_key = new HTML('div', {class: 'email_key'}, "Private: ");
+    let priv_key = new HTML('div', {class: 'email_key'}, "Visibility: ");
     let priv_value = new HTML('select', {id:'email_private'});
-    priv_value.inject(new HTML('option', {value: 'no', style: {color: 
'green'}, selected: json.private ? null : "selected"}, "No"));
-    priv_value.inject(new HTML('option', {value: 'yes', style: {color: 'red'}, 
selected: json.private ? "selected" : null}, "Yes"));
+    priv_value.inject(new HTML('option', {value: 'no', style: {color: 
'green'}, selected: json.private ? null : "selected"}, "Public"));
+    priv_value.inject(new HTML('option', {value: 'yes', style: {color: 'red'}, 
selected: json.private ? "selected" : null}, "Private"));
     priv_field.inject([priv_key, priv_value]);
     div.inject(priv_field);
 

Reply via email to