History

Fix page load error

Thibaut committed 11 years ago

Commit c0a55601 parent 1252b362 files · +3 −2Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/error_tmpl.coffee +2 −2
  2. assets/stylesheets/components/_page.scss +1 −0
assets/javascripts/templates/error_tmpl.coffee+2−2
@@ -11,9 +11,9 @@ app.templates.notFoundPage = -> · 10 unmodified lines
11 back11 back
12 12
13app.templates.pageLoadError = ->13app.templates.pageLoadError = ->
14 error """ Oops, that page failed to load. """,14 error """ Oops, the page failed to load. """,
15 """ It may be missing from the server (try reloading the app) or you could be offline.<br>15 """ It may be missing from the server (try reloading the app) or you could be offline.<br>
16 If you keep seeing this, you're likely behind a proxy or firewall which blocks cross-domain requests. """,16 If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """,
17 """ #{back} &middot; <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a>17 """ #{back} &middot; <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a>
18 &middot; <a href="#" class="_error-link" data-retry>Retry</a> """18 &middot; <a href="#" class="_error-link" data-retry>Retry</a> """
19 19
assets/stylesheets/components/_page.scss+1−0
@@ -4,6 +4,7 @@ · 3 unmodified lines
4 4
5._page {5._page {
6 position: relative;6 position: relative;
7 min-height: calc(100% - 1.25rem);
7 8
8 &._page-error { position: static; }9 &._page-error { position: static; }
9 10