You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/15 15:06:54 UTC
[incubator-ponymail-foal] branch master updated: regen JS
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
The following commit(s) were added to refs/heads/master by this push:
new a8b534a regen JS
a8b534a is described below
commit a8b534a16afa61a4fa15254588472ecae0ae2d70
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Sep 15 10:06:41 2021 -0500
regen JS
---
webui/js/ponymail.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index 3a0dd5d..5c3ad41 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -3024,6 +3024,11 @@ async function render_email(state, json) {
let text = new HTML('pre', {}, fixup_quotes(json.body));
div.inject(text);
+ // Private text?
+ if (json.private === true) {
+ text.style.backgroundImage = "url(images/private.png)";
+ }
+
let toolbar = new HTML('div', {class: 'toolbar'});