aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
* Version 2.6.v2.6Matthew Somerville2019-05-03-1/+1
| | | | | Include the usual generate new .pot file, gettext-merge, push to Transifex, pull from Transifex step.
* Do not use SET with html filter.Matthew Somerville2019-05-03-6/+6
|
* Custom layout for admin user permission checkboxesZarino Zappia2019-05-02-1/+1
|
* Fieldsets/legends for admin checkbox listsZarino Zappia2019-05-01-49/+51
|
* Tidy up "Categories:" checkbox lists on admin pagesZarino Zappia2019-05-01-4/+4
| | | | No need for bullets here, nor margins above/below each label.
* Escape body name in admin title.Matthew Somerville2019-04-24-2/+4
|
* [Northamptonshire] include google tracking code in headerStruan Donald2019-04-12-0/+1
|
* [Northamptonshire] restrict title to 120 charactersStruan Donald2019-04-09-1/+4
| | | | | | Prevent people from using very long titles. Fixes mysociety/fixmystreet-commercial#1344
* [Northamptonshire] update footer privacy policy linkStruan Donald2019-04-08-1/+1
| | | | For mysociety/fixmystreet-commercial#1331
* [fixmystreet.com] extra not responsible messages for NCCStruan Donald2019-04-04-0/+13
|
* [Northamptonshire] prevent reports unless clicking on an assetStruan Donald2019-04-04-0/+19
| | | | | Prevent the user from making a report unless they have clicked on an asset.
* [lincolnshire] do not allow fms.com email submit footer overrideStruan Donald2019-04-02-0/+5
|
* [fixmystreet.com] override default email submit footer settingsStruan Donald2019-04-02-8/+5
|
* Add default settings for email submit template footerStruan Donald2019-04-02-0/+4
|
* [Bristol] add branding to email templatesStruan Donald2019-04-02-0/+28
|
* [Lincolnshire] add branding to email templatesStruan Donald2019-04-02-0/+23
|
* [Buckinghamshire] add branding to email templatesStruan Donald2019-04-02-0/+34
| | | | Fixes mysociety/fixmystreet-commercial#1272
* allow customisation of email header image fileStruan Donald2019-04-02-2/+1
| | | | | Add a setting for the name of the image file used in the email header so cobrands can override it
* Matching vertical margins for new `js-post-category-messages`Zarino Zappia2019-03-28-1/+1
| | | | | | | | | | | | | * Shared margin rules for `.box-warning` and `.extra-category-questions` in `_base.scss` and `_layout.scss` (where the margin can potentially change based on the `$mappage-sidebar-padding` variable). * Move the Sass rules for `.box-warning` further up `_base.scss` to be next to `.extra-category-questions` since they’re both so similar. * No need for `.full-width` on the `.extra-category-questions` div since we were overriding the margin-top anyway. * Remove the little triangle between the category select box and the grey `.extra-category-questions` div, since the category questions isn’t always presented immediately after the category select box.
* Move added messages to the same place.Matthew Somerville2019-03-28-3/+8
|
* Show detailed delivery info in expanded list itemsZarino Zappia2019-03-28-10/+8
| | | | | | | | | | | | Make the expandable list item’s expanded state look more like the regular `.problem-header`, to more strongly imply that you don’t need to visit the individual report page to read more. Since expandable list items now *always* contain more information in their expanded state, there’s no need for the `show_more` flag in the templates. Addresses part of the feedback in mysociety/fixmystreet-commercial#1304.
* Merge branch 'issues/commercial/1273-ref-number-com'Matthew Somerville2019-03-27-12/+22
|\
| * [UK] Council reference in .com confirm sent email.Matthew Somerville2019-03-27-0/+10
| |
| * [UK] Fix two-tier message in confirm sent email.Matthew Somerville2019-03-27-12/+12
| |
* | Fix extra question display when only one category.Matthew Somerville2019-03-27-1/+9
|/ | | | | If the site only has the one category, it was being preselected but the extra attribute questions were not being shown.
* [Northamptonshire] only display NCC categories on cobrandStruan Donald2019-03-26-0/+0
|
* [fixmystreet.com] remove Northamptonshire unresponsive textStruan Donald2019-03-26-7/+1
|
* [fixmystreet.com] add NCC layers to national siteStruan Donald2019-03-25-0/+2
|
* Map JS only on map pages.Matthew Somerville2019-03-25-2/+5
|
* [Northamptonshire] use Alloy vector tiles for assetsStruan Donald2019-03-25-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Use the Vector tiles layers which Alloy provided which don't require and API key or paging. This code is still a bit work in progress as it makes a few assumptions: * the zoom level is hard coded * adding assets to layers assumes things are not async when they are * we are using itemId which is not the correct thing This uses an event to notify that loading a request for a new set of tiles has started and then uses counting to check we've fetched them all and hence can get the layer to check for an asset. It also uses start times to throw away requests for tiles in a previous request if they come in after a new request has started. This also doesn't have anything for putting labels on assets because that information doesn't seem to be in the tiles. A final point is that the tiles can contain multiple assets at the same coőrdinates and we don't do anything about that at the moment so the user will just get the last one added when they click. This includes a dump of all the layers from alloy and then matches them up to categories displayed on FixMyStreet
* [Northamptonshire] cobrand config, template and css changesStruan Donald2019-03-25-0/+280
| | | | | Co-authored-by: Zarino Zappia <zarino@mysociety.org> Co-authored-by: Matthew Somerville <matthew@mysociety.org>
* Allow cobrand customisation of privacy URLStruan Donald2019-03-25-11/+11
| | | | | Add a privacy_policy_url function to the cobrand and use that in the templates instead of hard coding /privacy
* enable custom email header logo fileStruan Donald2019-03-25-2/+4
| | | | | allows adding a logo_file setting in _color_overrides.html to change the name of the file used. Defaults to email-logo.gif
* [fixmystreet.com] update FAQ now we send reports to Highways EnglandStruan Donald2019-03-25-2/+3
|
* Check better if extra question has values.Matthew Somerville2019-03-12-1/+1
| | | | | If an Open311 server returned an empty set of values, it was possible for this template to then display a set of empty dropdown options.
* Fix couple of links broken by admin code refactor.Matthew Somerville2019-03-06-2/+2
|
* Merge branch '2411-checkbox-gap'Matthew Somerville2019-03-05-9/+9
|\
| * Improve inline checkbox spacing.Matthew Somerville2019-03-04-9/+9
| | | | | | | | | | | | | | | | | | | | | | Reduce the space between checkbox and label, so the text isn't lost if the page is zoomed in. Fixes #2411. Replace the creator_fixed question with segmented control to match the full questionnaire, and the admin verified checkboxes with inline-text as they need no padding. Having done that, all uses of .inline are now on their own lines, so no post-padding is needed any longer, but we’ll leave some in case of future use.
* | Merge branch 'report-links-same-domain'Matthew Somerville2019-03-05-7/+7
|\ \
| * | Use relative report links where possible.Matthew Somerville2019-03-05-7/+7
| |/ | | | | | | | | | | | | | | | | | | On some UK council cobrands, some reports listed might not have been sent to that council, so links to those must go to the national site. However, using absolute URLs for all these reports means that sometimes you change domain when you don't need to (eg. if you’re on osm.fixmystreet.com or an aliased version of the site), which can cause confusion. State when we’re happy to use a relative link (ie. web-facing report links, not emails, or share links) and do that when we can.
* / Default to unchecked for default_show_name.Matthew Somerville2019-03-04-4/+2
|/
* [Bromley] Initial heatmap page.Matthew Somerville2019-02-28-0/+83
|
* Duplicate suggestion UI when reporting problems.Zarino Zappia2019-02-25-5/+57
| | | | | | | | | | | | | | | | | | The previously staff-only fixmystreet.set_up.manage_duplicates() has been promoted from staff.js to its own file so that we can use it to display the duplicate suggestions on the `/report/new` form. render_duplicate_list (the old refresh_duplicate_list) no longer filters or slices the reports_list returned by the ajax call, since it turns out the server handles all of that (`sub _nearby_json` in `Report.pm` and `sub nearby` in `Nearby.pm`). Since the expandable list items include the "fancybox" image previews, the fancybox CSS now has to be included in the `/report/new` page head, hence the addition of "photo-js.html" in `fill_in_details.html`. The “Get updates” flow reuses the same JavaScript that handles the submission of the "Get updates" drawer at the bottom of around pages.
* Remove --reports from .item-list--reports__item classes in Inspector UIZarino Zappia2019-02-25-2/+2
| | | | | There’s no need for this `--reports` to be there, so let’s start phasing it out.
* Expandable list item componentZarino Zappia2019-02-25-34/+88
| | | | | | | | | | `_item_expandable.html` is an alternative to regular list items, where you can display extra information on the first click on the item, and then also, optionally, offer a further action, as a separate button. Right now the expandable list items aren’t used anywhere, but we’ll soon be using them in the duplicate report suggestion UI for council staff and the public.
* Refactor admin body/user functions to own files.Matthew Somerville2019-02-22-34/+34
|
* Merge branch 'logged-in-user-report-alert-signup'Matthew Somerville2019-02-22-3/+5
|\
| * Don't ask for email on alert signup if logged in.Matthew Somerville2019-02-21-3/+5
| | | | | | | | | | | | | | The “Get updates” flow on a report page, if logged in, was showing an input label but no input field (because one is not needed), but then on submission asking for your email address. Add missing name on submit button to fix this.
* | Merge branch 'FixaMinGata-cobrand-delivery-feb-2019' of ↵Matthew Somerville2019-02-21-0/+43
|\ \ | | | | | | | | | git://github.com/Sambruk/fixmystreet
| * | [FixaMinGata] Adds email templates for inactive accounts.Joe Siltberg2019-02-21-0/+43
| |/