diff options
author | Struan Donald <struan@exo.org.uk> | 2013-08-20 11:10:55 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-08-20 11:10:55 +0100 |
commit | 20c71ef5e859cd6c494a4b1426a75dddd64e5135 (patch) | |
tree | 388755459c94a6e47543f0e3b97a86698265c53c | |
parent | 5f07f82494cae35e3da39cad962bc6c20cc8cdd3 (diff) |
Add a start new report button to final screen
For clarity
-rw-r--r-- | locale/FixMyStreetMobileApp.po | 22 | ||||
-rw-r--r-- | locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po | 24 | ||||
-rw-r--r-- | src/js/views/sent.js | 1 | ||||
-rw-r--r-- | src/templates/en/sent.html | 5 | ||||
-rw-r--r-- | templates/sent.html | 5 |
5 files changed, 38 insertions, 19 deletions
diff --git a/locale/FixMyStreetMobileApp.po b/locale/FixMyStreetMobileApp.po index a354bf5..2670781 100644 --- a/locale/FixMyStreetMobileApp.po +++ b/locale/FixMyStreetMobileApp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: struan@mysociety.org\n" -"POT-Creation-Date: 2013-08-15 17:44+0100\n" +"POT-Creation-Date: 2013-08-20 11:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <team@fixmystreet.com>\n" @@ -49,7 +49,7 @@ msgstr "" msgid "An error was encountered when submitting your report: " msgstr "" -#: templates/around.html:23 templates/around.html:5 templates/offline.html:14 +#: templates/around.html:22 templates/around.html:5 templates/offline.html:14 msgid "Cancel" msgstr "" @@ -57,7 +57,7 @@ msgstr "" msgid "Complete report now" msgstr "" -#: templates/around.html:48 +#: templates/around.html:47 msgid "Confirm Location" msgstr "" @@ -97,7 +97,7 @@ msgstr "" msgid "Drafts" msgstr "" -#: templates/around.html:19 +#: templates/around.html:18 msgid "Finding your location" msgstr "" @@ -153,11 +153,11 @@ msgstr "" msgid "More than one location matched that name. Select one below or try entering street name and area, or a postcode." msgstr "" -#: templates/around.html:42 +#: templates/around.html:41 msgid "New Report Here" msgstr "" -#: templates/around.html:8 templates/details.html:3 templates/details_extra.html:3 templates/photo.html:6 +#: templates/details.html:3 templates/details_extra.html:3 templates/photo.html:6 msgid "Next" msgstr "" @@ -265,7 +265,7 @@ msgstr "" msgid "Report Created" msgstr "" -#: templates/around.html:45 +#: templates/around.html:44 msgid "Reposition Report Here" msgstr "" @@ -281,7 +281,7 @@ msgstr "" msgid "Search for a place or postcode" msgstr "" -#: templates/around.html:29 +#: templates/around.html:28 msgid "Search or scroll the map" msgstr "" @@ -313,6 +313,10 @@ msgstr "" msgid "Sorry, but we weren't able to establish your location accurately enough to show you a map. Please enter a location in the search box instead" msgstr "" +#: templates/sent.html:20 +msgid "Start new report" +msgstr "" + #: templates/details.html:8 msgid "Subject" msgstr "" @@ -321,7 +325,7 @@ msgstr "" msgid "Take a new photo" msgstr "" -#: templates/around.html:32 +#: templates/around.html:31 msgid "Test version. Reports will not be sent to the council." msgstr "" diff --git a/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po b/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po index e2438e5..5340ca6 100644 --- a/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po +++ b/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: struan@mysociety.org\n" -"POT-Creation-Date: 2013-08-15 17:44+0100\n" +"POT-Creation-Date: 2013-08-20 11:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <team@fixmystreet.com>\n" @@ -50,7 +50,7 @@ msgstr "" msgid "An error was encountered when submitting your report: " msgstr "" -#: templates/around.html:23 templates/around.html:5 templates/offline.html:14 +#: templates/around.html:22 templates/around.html:5 templates/offline.html:14 msgid "Cancel" msgstr "" @@ -58,7 +58,7 @@ msgstr "" msgid "Complete report now" msgstr "" -#: templates/around.html:48 +#: templates/around.html:47 msgid "Confirm Location" msgstr "" @@ -98,7 +98,7 @@ msgstr "" msgid "Drafts" msgstr "" -#: templates/around.html:19 +#: templates/around.html:18 msgid "Finding your location" msgstr "" @@ -158,12 +158,12 @@ msgid "" "street name and area, or a postcode." msgstr "" -#: templates/around.html:42 +#: templates/around.html:41 msgid "New Report Here" msgstr "" -#: templates/around.html:8 templates/details.html:3 -#: templates/details_extra.html:3 templates/photo.html:6 +#: templates/details.html:3 templates/details_extra.html:3 +#: templates/photo.html:6 msgid "Next" msgstr "" @@ -283,7 +283,7 @@ msgstr "" msgid "Report Created" msgstr "" -#: templates/around.html:45 +#: templates/around.html:44 msgid "Reposition Report Here" msgstr "" @@ -299,7 +299,7 @@ msgstr "" msgid "Search for a place or postcode" msgstr "" -#: templates/around.html:29 +#: templates/around.html:28 msgid "Search or scroll the map" msgstr "" @@ -334,6 +334,10 @@ msgid "" "show you a map. Please enter a location in the search box instead" msgstr "" +#: templates/sent.html:20 +msgid "Start new report" +msgstr "" + #: templates/details.html:8 msgid "Subject" msgstr "" @@ -342,7 +346,7 @@ msgstr "" msgid "Take a new photo" msgstr "" -#: templates/around.html:32 +#: templates/around.html:31 msgid "Test version. Reports will not be sent to the council." msgstr "" 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> diff --git a/templates/sent.html b/templates/sent.html index ee86958..ffaaa1d 100644 --- a/templates/sent.html +++ b/templates/sent.html @@ -14,4 +14,9 @@ <p class="center"><a onclick="FMS.openExternal(event); return false;" href="<%= site_url %>">[% loc('View it on the site') %]</a></p> <% } %> + + + <div class="bottom-btn"> + <input type="button" id="id_report_another" data-theme="a" value="[% loc('Start new report') %]" > + </div> </div> |