You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/11/16 15:45:08 UTC

incubator-ponymail git commit: Split message over several lines to make it easier to read

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master f676ca61a -> f63c7090a


Split message over several lines to make it easier to read

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/f63c7090
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/f63c7090
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/f63c7090

Branch: refs/heads/master
Commit: f63c7090a410e593820379a10a0f468ebbc1428d
Parents: f676ca6
Author: Sebb <se...@apache.org>
Authored: Wed Nov 16 15:44:52 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Wed Nov 16 15:44:52 2016 +0000

----------------------------------------------------------------------
 site/js/dev/ponymail_email_displays.js | 6 +++++-
 site/js/ponymail.js                    | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f63c7090/site/js/dev/ponymail_email_displays.js
----------------------------------------------------------------------
diff --git a/site/js/dev/ponymail_email_displays.js b/site/js/dev/ponymail_email_displays.js
index 8d83f5d..0348215 100644
--- a/site/js/dev/ponymail_email_displays.js
+++ b/site/js/dev/ponymail_email_displays.js
@@ -492,7 +492,11 @@ function displaySingleThread(json) {
     // Sometimes emails are hidden for anonymous users, let's make 'em know...
     if (!current_thread_json[0]) {
         if (!login || !login.credentials) {
-            popup("Email not found!", "Sorry, it seems like we couldn't find this email for you. It may be private and hidden for non-authenticated users, in which case you could <a href='/oauth.html'>Log in</a> and see if that helps.", 60)
+            popup("Email not found!",
+                ["Sorry, it seems like we couldn't find this email for you.",
+                 "It may be private and hidden for non-authenticated users.",
+                 "In which case you could <a href='/oauth.html'>Log in</a> and see if that helps."],
+                60)
         }
     }
     var mid = current_thread_json[0].mid.replace(/[<>]/g, "")

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f63c7090/site/js/ponymail.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail.js b/site/js/ponymail.js
index 53bfb26..e3e700e 100644
--- a/site/js/ponymail.js
+++ b/site/js/ponymail.js
@@ -1850,7 +1850,11 @@ function displaySingleThread(json) {
     // Sometimes emails are hidden for anonymous users, let's make 'em know...
     if (!current_thread_json[0]) {
         if (!login || !login.credentials) {
-            popup("Email not found!", "Sorry, it seems like we couldn't find this email for you. It may be private and hidden for non-authenticated users, in which case you could <a href='/oauth.html'>Log in</a> and see if that helps.", 60)
+            popup("Email not found!",
+                ["Sorry, it seems like we couldn't find this email for you.",
+                 "It may be private and hidden for non-authenticated users.",
+                 "In which case you could <a href='/oauth.html'>Log in</a> and see if that helps."],
+                60)
         }
     }
     var mid = current_thread_json[0].mid.replace(/[<>]/g, "")