diff options
-rw-r--r-- | templates/web/base/common_scripts.html | 1 | ||||
-rw-r--r-- | templates/web/base/offline/appcache.html | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html index 3d923f33f..ac66aad46 100644 --- a/templates/web/base/common_scripts.html +++ b/templates/web/base/common_scripts.html @@ -18,6 +18,7 @@ ELSIF bodyclass.match('alertpage'); scripts.push( version('/js/geolocation.js'), ); +ELSIF bodyclass.match('offlinepage'); ELSE; scripts.push( version('/js/validation_rules.js'), diff --git a/templates/web/base/offline/appcache.html b/templates/web/base/offline/appcache.html index ba54b229a..ed48b7a00 100644 --- a/templates/web/base/offline/appcache.html +++ b/templates/web/base/offline/appcache.html @@ -1,4 +1,5 @@ -[% INCLUDE 'header.html' appcache = 1 bodyclass = "fullwidthpage" %] +[% SET bodyclass = "fullwidthpage offlinepage" ~%] +[% INCLUDE 'header.html' appcache = 1 %] <h1>[% loc('Internet glitch') %]</h1> |