| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
| | |
| | |
| | | |
The service code could be "0".
|
| | |
| | |
| | |
| | |
| | | |
It errored on new-style parsed XML, rather than let it through.
Add a new category to the test that highlights this.
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Parse the XML in such a way other parts of the code do not have to worry
about single-value folding or the like.
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some UK councils with Open311 integrations (e.g. Bromley) have a custom wording
in the confirmation email sent when updates are left on reports, to make the
user aware that the update is sent to the council in question.
Bromley noticed that some emails were being sent without this wording, leading
at least one user to contact the council directly about the report.
It turns out that although the email template contains an IF clause to use the
appropriate wording for Bromley (and Stevenage) reports, the incorrect template
file was being used when updates were made via the Bromley cobrand.
This commit solves the problem by introducing a new
`Cobrand::Default::path_to_email_templates` method, which is overridden by
`Cobrand::UKCouncils` to include the `templates/email/fixmystreet` path. Paths
returned by this method are used as the `additional_template_paths` param when
templating emails. A regression test is included.
Additionally moves email templates for fixmystreet.com to a directory name
reflecting their purpose, in the same way the web templates are arranged.
|
| | |
| | |
| | |
| | | |
Stop sidebar overlapping footer, and giving footer heading a top border.
|
| |/
|/| |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
The 'cross' at mobile widths was not displaying, and the icon was not
changing to a down arrow at larger widths.
|
|\ |
|
| |
| |
| |
| |
| | |
It was being treated as a new report and showing errors, rather than
showing you the same page with updated filters. Fixes #1422.
|
| |
| |
| |
| | |
Uses same watch notification as make_css.
|
| | |
|
| |
| |
| |
| |
| | |
This is in case the cobrand directory is actually a symlink to
elsewhere, as it is with some deployments.
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If we don't do this, the default quoted-printable encoding will make
sure the lines are physically wrapped anyway. format=flowed could be
an alternative, but I think "=" acting as a quasi-hyphen is somewhat
nicer than every line ending with "=20".
A better solution could be quoted-printable doing soft wrapping only
at word breaks, making each line be readable though end with a " =",
but that didn't seem worth the effort involved.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
It should now show a failure message on failure, rather than always show
the success message, and not show a confusing error about general.yml if
something went wrong before creating that file.
|
| |
|
|
|
|
|
| |
Remove quite a bit of unnecessary CSS that was not
actually helping with display.
|
| |
|
| |
|
|
|
|
| |
This applies in e.g. a Vagrant installation.
|
|
|
|
|
|
| |
This improves upon the previous commit to work with whatever contents
the map sidebar has (e.g. the list on an around page was also being cut
off before the end).
|
|
|
|
|
|
| |
On IE9 the bottom of the update form was being
obscured by the shadow above the report abuse
/updates/nearby buttons for signed-in users.
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This simplifies the page layout and code. We add a new #map_sidebar for
sidebar positioning, and a $mappage-header-height (defaulting to 4em)
variable. We no longer need:
* position_map_box;
* map_fix;
* special visual centre calculation; or
* custom pan zoom positioning.
As the sidebar now scrolls by itself and nothing can extend outside:
* The big-green-banner is set to 100% width (with negative margins no
longer required);
* For cobrands that have an overhanging sidebar (e.g. Zurich), we add
a .with-notes variant that adds a second column to the sidebar,
perfect for containing secondary notes about the form.
The resizing of the banner also required some tweaking to the size of
the chevron-white SVG images.
Update the $.fn.drawer() method for the new layout. Works well in IE7+8,
and degrades gracefully in IE6.
For IE7, we remove the existing z-index hacks, and put a new, simpler,
one in, and fix a CSS bug that was hiding the map.
Various cobrands are updated to adapt to the changes.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Always centre the map on the new point when creating a new report. This
will be helpful when the map element can change width to accommodate the
.with-notes variant, is easier than the previous method, and feels very
natural.
|
| | |
|
| |
| |
| |
| |
| | |
We previously used !important to override them in the CSS, but better to
prevent them being set in the JavaScript in the first place.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If someone cloned the repository on Windows with their default git
settings, then ran vagrant up, it failed because the shell files now had
CRLF line endings. Rather than try and exempt the appropriate files,
let's just stop git trying to do anything clever at all.
|
| |
| |
| |
| |
| | |
Have a generic package install file that works on Debian wheezy and
jessie, and Ubuntu precise, trusty and xenial. Drop Debian squeeze.
|
| |
| |
| |
| |
| | |
The fix in e070ba89 for the big white chevron was also applied to these
chevrons which did not need extra paddig, and made them display smaller.
|
| |
| |
| |
| |
| | |
The move to libsass missed out one function call, that inline images as
data URIs, which wasn't spotted as it didn't error.
|