aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-08-20 11:10:55 +0100
committerStruan Donald <struan@exo.org.uk>2013-08-20 11:10:55 +0100
commit20c71ef5e859cd6c494a4b1426a75dddd64e5135 (patch)
tree388755459c94a6e47543f0e3b97a86698265c53c /src
parent5f07f82494cae35e3da39cad962bc6c20cc8cdd3 (diff)
Add a start new report button to final screen
For clarity
Diffstat (limited to 'src')
-rw-r--r--src/js/views/sent.js1
-rw-r--r--src/templates/en/sent.html5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/js/views/sent.js b/src/js/views/sent.js
index d146db6..a483706 100644
--- a/src/js/views/sent.js
+++ b/src/js/views/sent.js
@@ -10,6 +10,7 @@
'pagebeforeshow': 'beforeDisplay',
'pageshow': 'afterDisplay',
'vclick .ui-btn-left': 'onClickButtonPrev',
+ 'vclick #id_report_another': 'onClickButtonPrev',
'vclick #rate_app': 'onClickRateApp'
},
diff --git a/src/templates/en/sent.html b/src/templates/en/sent.html
index d926303..5094c4b 100644
--- a/src/templates/en/sent.html
+++ b/src/templates/en/sent.html
@@ -14,4 +14,9 @@
<p class="center"><a onclick="FMS.openExternal(event); return false;" href="<%= site_url %>">View it on the site</a></p>
<% } %>
+
+
+ <div class="bottom-btn">
+ <input type="button" id="id_report_another" data-theme="a" value="Start new report" >
+ </div>
</div>