aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-07-18 13:21:42 +0100
committerStruan Donald <struan@exo.org.uk>2013-07-18 13:21:42 +0100
commitf7c33257379a84c740dbce9349dbc982a8f21797 (patch)
tree96c1e28c7e3b3428d4e751b630d99f1f48fea98b /src
parenta8e488de91e91042c75e86935bf871d48bf92485 (diff)
do not display lat/long of offline report. For #55
Diffstat (limited to 'src')
-rw-r--r--src/js/views/offline.js2
-rw-r--r--src/templates/en/offline.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/offline.js b/src/js/views/offline.js
index 117c67e..11cb3ce 100644
--- a/src/js/views/offline.js
+++ b/src/js/views/offline.js
@@ -54,7 +54,7 @@
this.model.set('lat', info.coordinates.latitude);
this.model.set('lon', info.coordinates.longitude);
- $('#locate_result').html('Got position (' + info.coordinates.latitude.toFixed(2) + ', ' + info.coordinates.longitude.toFixed(2) + ')');
+ $('#locate_result').html('Got position.');
},
takePhoto: function() {
diff --git a/src/templates/en/offline.html b/src/templates/en/offline.html
index 0ae130c..d2d4814 100644
--- a/src/templates/en/offline.html
+++ b/src/templates/en/offline.html
@@ -22,7 +22,7 @@
<p id="locate_result">
<% if ( lat ) { %>
- Report has position ( <% print( lat.toFixed(2) + ', ' + lon.toFixed(2) ) %> )
+ This report has a position.
<% } else { %>
<input type="button" data-role="button" data-theme="a" id="locate" value="Locate" >
<% } %>