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
1111 back
1212
1313 app.templates.pageLoadError = ->
14− error """ Oops, that page failed to load. """,
14+ error """ Oops, the page failed to load. """,
1515 """ 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. """,
1717 """ #{back} &middot; <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a>
1818 &middot; <a href="#" class="_error-link" data-retry>Retry</a> """
1919
assets/stylesheets/components/_page.scss+1−0
@@ -4,6 +4,7 @@ · 3 unmodified lines
44
55 ._page {
66 position: relative;
7+ min-height: calc(100% - 1.25rem);
78
89 &._page-error { position: static; }
910