diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-09 17:02:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-28 13:16:39 +0100 |
commit | 22c12ab78128788bb44b8567d8735671b73b02e6 (patch) | |
tree | 11fa75561358f257accc3f321aec352cf0c6f124 /templates | |
parent | 60629c93d6f6ebb48ba00e16abffd8df4df79abe (diff) |
Remove need for category_extras ajax call.
Add by_category output to the /report/new/ajax call, containing all the data
that /report/new/category_extras returns for one category. Then alter the JS
to use that data immediately when needed.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/js/translation_strings.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/js/translation_strings.html b/templates/web/base/js/translation_strings.html index f6e1e580b..bd8144a63 100644 --- a/templates/web/base/js/translation_strings.html +++ b/templates/web/base/js/translation_strings.html @@ -38,6 +38,8 @@ fixmystreet.password_minimum_length = [% c.cobrand.password_minimum_length %]; how_to_send: '[% loc('How to send successful reports') | replace("'", "\\'") %]', more_details: '[% loc('Details') | replace("'", "\\'") %]', + or: '[% loc(' or ') | replace("'", "\\'") %]', + geolocation_declined: '[% loc('You declined; please fill in the box above') | replace("'", "\\'") %]', geolocation_no_position: '[% loc('Could not look up location') | replace("'", "\\'") %]', geolocation_no_result: '[% loc('No result returned') | replace("'", "\\'") %]', |