diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-01-12 14:37:40 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-01-12 14:37:40 +0000 |
commit | e2dc6536689b43f807302748aa6d65122a1e26f7 (patch) | |
tree | aca10e94c1e853d6b28c57f445f968f4f8bfecce /web | |
parent | 940bd236650b2bf7208d9b06c33ee30ad94492f6 (diff) |
Change offline wording to use 'update', not 'form'
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/offline.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/cobrands/fixmystreet/offline.js b/web/cobrands/fixmystreet/offline.js index 54ab12061..177e54e4d 100644 --- a/web/cobrands/fixmystreet/offline.js +++ b/web/cobrands/fixmystreet/offline.js @@ -4,7 +4,7 @@ fixmystreet.offlineBanner = (function() { function formText() { var num = fixmystreet.offlineData.getForms().length; - return num + ' form' + (num===1 ? '' : 's'); + return num + ' update' + (num===1 ? '' : 's'); } function onlineText() { @@ -361,7 +361,7 @@ if ($('#offline_list').length) { $('#offline_list').before('<h2>Your offline reports</h2>'); $('#offline_list').html(html); if (location.search.indexOf('saved=1') > 0) { - $('#offline_list').before('<p class="form-success">Your form has been saved offline for submission when back online.</p>'); + $('#offline_list').before('<p class="form-success">Your update has been saved offline for submission when back online.</p>'); } fixmystreet.offline.replaceImages('#offline_list img'); var offlineForms = fixmystreet.offlineData.getForms(); @@ -371,7 +371,7 @@ if ($('#offline_list').length) { }); $('#offline_list a').each(function(i, a) { if (savedForms[a.href]) { - $(this).find('h3').prepend('<em>Form data saved</em> '); + $(this).find('h3').prepend('<em>Offline update data saved</em> '); } }); $('#offline_clear').html('<button id="js-clear-localStorage">Clear offline data</button>'); |