aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
* Use existing loc() so translations find strings.Matthew Somerville2020-03-04-67/+67
| | | | | The gettext-extract script looks for loc() in templates, it did not find the loc_js() calls.
* Merge branch 'staging-js'Matthew Somerville2020-03-03-0/+3
|\
| * Add map staging flag for client side to use.Matthew Somerville2020-03-03-0/+3
| |
* | [FixaMinGata] Updates the link in the footer to information for councils.Joe Siltberg2020-03-03-1/+1
| | | | | | | | For some unknown reason the redirect we've had sometimes fails.
* | [FixaMinGata] Removes another unused and unmaintained template.Joe Siltberg2020-03-03-143/+0
| |
* | [FixaMinGata] Clean-up in the templates.Joe Siltberg2020-03-03-85/+30
| | | | | | | | | | | | | | | | | | | | | | Removed needless differences, or files where there weren't really any differences between fixamingata and base. Also made our site more like base by moving stuff we had in footer.html to footer_extra.html and stuff we had in front/recent.html to front/footer-marketing.html. Should hopefully make the templates easier to maintain.
* | [FixaMinGata] New video for the front pageJoe Siltberg2020-03-03-3/+3
|/
* Merge branch 'admin-only-categories'Matthew Somerville2020-02-27-0/+5
|\
| * Add a new "staff" contact state.Matthew Somerville2020-02-26-0/+5
| | | | | | | | | | This state will appear when reporting if you are logged in as a staff member of the relevant body, but otherwise not appear on the site.
* | [Buckinghamshire] Change "Name" to "Full name" on formsChris Mytton2020-02-26-0/+13
| | | | | | | | | | | | Since we require the user to enter their full name Buckinghamshire have asked us to change the text to "Full name" to make it clearer that the full name is required to complete the form.
* | [fixmystreet.com] Remove theme-color meta tagDave Arter2020-02-26-1/+0
| | | | | | | | This is under the assumption it will be replaced by a manifest theme on fixmystreet.com
* | Use ManifestTheme theme_colour for front page theme-color meta tagDave Arter2020-02-26-3/+6
| |
* | Show available cobrands in dropdown on FMSDave Arter2020-02-26-0/+2
| | | | | | | | | | | | | | For some reason switching to a Select stopped the update_model changes being applied when persisting the model, meaning the INSERT query failed because the cobrand column was null. This commit switches to a hidden input field for the cobrand which I’m not super keen on, but it does get the job done...
* | Add manifest icon management to admin formsDave Arter2020-02-26-1/+28
| |
* | Add admin UI for configuring manifest themeDave Arter2020-02-26-0/+77
| |
* | Use cobrand manifest icons as iOS icons, if presentDave Arter2020-02-26-0/+3
| |
* | Fix filter_group picking if category group a list.Matthew Somerville2020-02-26-1/+1
|/
* Merge branch 'tfl-show-tlrn-to-staff'Matthew Somerville2020-02-17-0/+10
|\
| * [TfL] Show red route layer to staff on report pageMatthew Somerville2020-02-17-0/+7
| |
| * [TfL] Include borough name in report lists.Matthew Somerville2020-02-17-0/+3
| |
* | base files for displaying WMS mapsStruan Donald2020-02-17-3/+20
| | | | | | | | | | Basic config and setup files for using WMS based map tiles. These still require config in appropriate cobrand perl and javascript files
* | Fix WMTS map display.Matthew Somerville2020-02-17-30/+16
|/ | | | Non-JS clicking does not work if map tiles are scaled.
* [fixmystreet.com] Remove double escape of website badge.Matthew Somerville2020-02-17-2/+2
|
* Vendor in idb-keyval.Matthew Somerville2020-02-14-2/+2
| | | | Easier working with CSP headers.
* [fixmystreet.com] Expand Pro link text.Matthew Somerville2020-02-14-2/+2
|
* Catch POST in service worker, not by rewriting button.Matthew Somerville2020-02-14-2/+36
|
* Replace localStorage with indexedDB.Matthew Somerville2020-02-14-0/+1
|
* Use Web API cache to save offline pages.Matthew Somerville2020-02-14-1/+9
|
* Remove appcache (breaking showing reports from localStorage cache).Matthew Somerville2020-02-14-38/+2
|
* Initial service worker.Matthew Somerville2020-02-14-0/+82
| | | | | | | | | | | | This basic service worker behaves identically to the existing appcache - some static scripts and CSS are cached, any HTML offline instead returns a static HTML page that knows how to show data on stored problems out of localStorage (stored there when /my/planned was visited online). Inspect form submissions will be captured and can be synced back when online. Once feature parity is established, we will then remove appcache, switch from using localStorage to the cache API, and hopefully move all offline support into the service worker.
* A basic web manifest starter.Matthew Somerville2020-02-14-0/+1
| | | | | Reads information from a theme object if present, and icons from a theme directory, with fallbacks.
* Merge branch 'allow-anon-on-some-categories'Matthew Somerville2020-02-14-2/+14
|\
| * Allow anonymous reporting on per-category basis.Matthew Somerville2020-02-13-2/+3
| |
| * Show report anonymously button non-JS when needed.Matthew Somerville2020-02-13-0/+9
| |
| * [Westminster] Remove unused form from HTML.Matthew Somerville2020-02-12-0/+2
| |
* | Merge branch 'missing-council-js'Matthew Somerville2020-02-14-161/+48
|\ \
| * | [UK Councils] Factor footer JS templates together.Matthew Somerville2020-02-13-168/+48
| | |
| * | [UK Councils] Include highways code where relevantMatthew Somerville2020-02-13-0/+7
| | |
| * | [UK Councils] Make sure js.js included in all.Matthew Somerville2020-02-13-17/+17
| | |
* | | Merge branch 'private-in-email'Matthew Somerville2020-02-14-10/+92
|\ \ \ | |/ / |/| |
| * | Reword/hide things viewing unauthed private reportMatthew Somerville2020-02-13-0/+11
| | | | | | | | | | | | | | | | | | If you've e.g. come from an email link that lets you view a private report, hide reporting/getting updates/sharing, and replace the update form with a link saying you need to sign in.
| * | Link in other-reported email shows private report.Matthew Somerville2020-02-13-10/+10
| | | | | | | | | | | | | | | Use a token that does not log the user in, but lets the report be shown, even if it's a private report. Allow old tokens of that type to work.
| * | Include explanation in email if a private report.Matthew Somerville2020-02-13-0/+71
| |/
* / Fix category extra AJAX call for categories with ampersandsDave Arter2020-02-12-0/+6
|/ | | | | | | | | | | | | | | | The `IF category_extras.$category.size` condition in category_extras.html was using an escaped string for `$category`, meaning the lookup would always fail for categories that had an ampersand in their name. The result of this was an empty `<div id="category_meta">`, and no extra fields shown to the user. This caused issues when one or more of the fields were required, as they were always empty and the error message wasn't being rendered and shown to the user. This meant the user would see their report form over and over again when submitting instead of useful feedback. We also ensure $category is always a SafeString when used as a key into a hashref in other templates. Fixes https://github.com/mysociety/fixmystreet-freshdesk/issues/126
* [Isle of Wight] Add extra advisory text above report form.Dave Arter2020-02-11-0/+1
| | | | For https://github.com/mysociety/fixmystreet-freshdesk/issues/123
* [Northamptonshire] Update front page steps textDave Arter2020-02-06-2/+2
| | | | For https://github.com/mysociety/fixmystreet-freshdesk/issues/119
* [UK Councils] Make sure TfL link works everywhere.Matthew Somerville2020-02-06-0/+6
|
* [Peterborough] Add message to front page.Matthew Somerville2020-02-03-0/+12
|
* Improve try again on mobile.Matthew Somerville2020-01-31-2/+2
|
* Create helper function for translation template.Matthew Somerville2020-01-31-67/+67
|