aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-08-02 17:09:33 +0100
committerStruan Donald <struan@exo.org.uk>2013-08-02 17:09:33 +0100
commitf36222aaab3693aaa30b7ba3bcfe6178cc850ed9 (patch)
tree66ef048566a837303e79c138c8ea904aee506949 /src
parentedc6465219192aac20853eb5f0b4e0d73390e8bb (diff)
Change offline page into text if we are viewing a draft
Diffstat (limited to 'src')
-rw-r--r--src/templates/en/offline.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/en/offline.html b/src/templates/en/offline.html
index b73ed47..ca62051 100644
--- a/src/templates/en/offline.html
+++ b/src/templates/en/offline.html
@@ -17,7 +17,11 @@
<div data-role="content">
<div>
<p class="notopmargin">
+ <% if ( typeof id != 'undefined' ) { %>
+ Oh dear - we can't detect an internet connection. However you can still edit the report now and send it later.
+ <% } else { %>
Oh dear - we can't detect an internet connection. However you can still start a report now and complete it later, by going to 'drafts' when you're back online.
+ <% } %>
</p>
<p id="locate_result">