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:18:26 UTC

[incubator-ponymail-foal] branch master updated: Add a tooltip

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 bd4f9f5  Add a tooltip
bd4f9f5 is described below

commit bd4f9f599aedffe2a0c30fd26340d0e3b6e8394a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 21 14:18:19 2021 -0500

    Add a tooltip
---
 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 1ef5d93..b65482d 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', {class: 'calendar_count'}, count));
+                mdiv.inject(new HTML('span', {title: `${count} 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 7b4b813..2883b0f 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', {class: 'calendar_count'}, count));
+                mdiv.inject(new HTML('span', {title: `${count} emails this month`, class: 'calendar_count'}, count));
             }
             ydiv.inject(mdiv);
         }