[devdocsgjs/main: 655/1867] Update page load error message




commit fb2d7374daa8e33c89d338b48a28a2cf9f728a95
Author: Jasper van Merle <jaspervmerle gmail com>
Date:   Thu Jul 11 16:05:48 2019 +0200

    Update page load error message

 .gitignore                                     |  1 +
 assets/javascripts/templates/error_tmpl.coffee |  2 +-
 log/newrelic_agent.log                         | 14 --------------
 3 files changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1060fcf0..be0e958e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ public/fonts
 public/docs/**/*
 docs/**/*
 !docs/*.md
+log
diff --git a/assets/javascripts/templates/error_tmpl.coffee b/assets/javascripts/templates/error_tmpl.coffee
index 86b7b091..4b696d40 100644
--- a/assets/javascripts/templates/error_tmpl.coffee
+++ b/assets/javascripts/templates/error_tmpl.coffee
@@ -12,7 +12,7 @@ app.templates.notFoundPage = ->
 
 app.templates.pageLoadError = ->
   error """ The page failed to load. """,
-        """ It may be missing from the server (try reloading the app) or you could be offline.<br>
+        """ It may be missing from the server (try reloading the app) or you could be offline (try <a 
href="/offline">installing the documentation for offline usage</a> when online again).<br>
             If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain 
requests. """,
         """ #{back} &middot; <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a>
             &middot; <a href="#" class="_error-link" data-retry>Retry</a> """


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]