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/21 19:19:54 UTC
[incubator-ponymail-foal] branch master updated: pretty-print the
original value instead
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 d1c21bb pretty-print the original value instead
d1c21bb is described below
commit d1c21bba260acdec9837bc718aaeb83791079021
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 21 14:19:46 2021 -0500
pretty-print the original value instead
---
webui/js/ponymail.js | 2 +-
webui/js/source/sidebar-calendar.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index b65482d..28bbc51 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -3900,7 +3900,7 @@ function renderCalendar(FY, FM, LY, LM, activity = null) {
count = Math.floor(count/1000.0) + "k+";
}
count = count.toString();
- mdiv.inject(new HTML('span', {title: `${count} emails this month`, class: 'calendar_count'}, count));
+ mdiv.inject(new HTML('span', {title: `${activity[ym].pretty()} emails this month`, class: 'calendar_count'}, count));
}
ydiv.inject(mdiv);
}
diff --git a/webui/js/source/sidebar-calendar.js b/webui/js/source/sidebar-calendar.js
index 2883b0f..56f5562 100644
--- a/webui/js/source/sidebar-calendar.js
+++ b/webui/js/source/sidebar-calendar.js
@@ -95,7 +95,7 @@ function renderCalendar(FY, FM, LY, LM, activity = null) {
count = Math.floor(count/1000.0) + "k+";
}
count = count.toString();
- mdiv.inject(new HTML('span', {title: `${count} emails this month`, class: 'calendar_count'}, count));
+ mdiv.inject(new HTML('span', {title: `${activity[ym].pretty()} emails this month`, class: 'calendar_count'}, count));
}
ydiv.inject(mdiv);
}