| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the yepnope library, instead using <link rel="prefetch">
with a polyfill (the polyfill will work on Safari but reload cached
script on the front page each time).
We prefetch map-related JavaScript (and other libraries only used on map
pages, such as Dropzone and Fancybox) on non-map pages, and don't bother
loading the validate plugin on the front page.
Now the map JavaScript list is available everywhere, we can use that
in the prefetch rather a hardcoded list.
|
|
|
|
|
| |
Front page stats, update form question, list filtering, plus do not send
any questionnaires.
|
|
|
|
|
| |
If the list was replaced by JavaScript, the event handlers were being
dropped. Switch the handlers to the parent that remains present.
|
| |
|
|
|
|
|
|
|
|
| |
This makes the git hook that lints our own JavaScript easier,
and keeps things more cleanly separated.
We also remove unused third party libraries (select2 and
jquery.placeholder).
|
|
|
|
|
| |
Use a list to store JavaScript files, so it can be shared
between the HTML footer and the appcache manifest.
|
|
|
|
|
| |
No need for a special no-map case in the filters case, as all pages now
have fixmystreet.page set if needed.
|
|
|
|
|
| |
We only need html5shiv for <IE9, and we only use yepnope on the front
page.
|
|\ |
|
| |
| |
| |
| |
| | |
Update the URL whenever location of pin is updated (first time, drag, or
reclick), make sure it works when clicking back.
|
|/
|
|
|
| |
This also allows the map to work in a proxied admin.
Upgrade Angus OL to master branch code.
|
|
|
|
|
| |
There's no need for the IP->country lookup, only used in JavaScript
to display a banner, to require a call to the FixMyStreet server.
|
|
|
|
|
| |
Template::Plugin::Number::Format works internationally, whilst
Template::Plugin::Comma does not.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generally, a rewrite of issue-list-a to item-list--reports or
item-list--wards (two different uses) and issue-list to
item-list--updates, with subsequent renames/changes to children.
For those cobrands using a different list showing a pin icon, use
item-list__item--with-pin to stop needing to override existing classes.
Fix a variety of niggling issues e.e ward list display, or overloading
of the .text class.
|
|
|
|
|
|
|
|
|
|
| |
Have the around, my, and reports pages use the same low level template
for individual list items, which can then be overridden for these
cobrands, meaning they no longer need to override higher level
templates.
The logic in 2b9178d was incorrect; fix this so that the correct
information is included in those templates.
|
|
|
|
|
|
|
|
| |
The aim is to combine base and fixmystreet as much as possible,
providing enough template/styling hooks for any cobrand. This
commit removes the need for separate base/fixmystreet templates
for the front page, almost all of the /around templates, the
open graph headers, and the low level item list templates.
|
|
This should reduce confusion with the Default cobrand and override order.
|