| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#211.
|
|
|
|
| |
Fixes #1778.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We can't translate them in the template as we're just passing in the
category name and not the object.
Fixes mysociety/fixmystreetforcouncils#216
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A seemingly unrelated change in ef6ffbdb was causing JS errors
on the /reports page which meant the map loading spinner
was permanently present. This commit fixes that, and also fixes
another bug which was uncovered where the ?ajax=1 param was
being ignored by the Zürich /reports page, leading to HTML
being returned and another JS error.
The call to `new OpenLayers.Bounds` in
OpenLayers.Strategy.FixMyStreet.getMapBounds was causing
three of the 4 bounds params to be lost when run on OpenLayers
2.11, as this version doesn’t accept an array to the Bounds
constructor. This in turn was using an invalid `bbox` parameter
(only the west value was present) in the AJAX call to /reports
which returned a 500 error. This then crashed the JS and caused
the loading spinner to get stuck.
|
|
|
|
|
|
| |
Calling the function 'translate' causes gettext-extract to add the
string to the .po file. Also, we no longer need an admin 'updated'
message as the main form has its own success message.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Given a set of config files of the format `conf/general-{cobrand}.yml`
this script lets you easily create and recreate a symlink at
`conf/general.yml` that points to the cobrand config of your choice. The
test suite also then uses this naming convention.
|
| |
| |
| |
| |
| |
| | |
A reference to ->storage was missed as this script changed in a
different branch. The schema files contain transaction commands
themselves. A check for migration 52 was missing.
|
|/
|
|
| |
This makes the diff much easier to view.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a `translation_for` method and an `add_transation` method to
Translatable to help hide the details when editing and listing
translations.
`translation_for` returns all translations if only passed a column or a
single translation if passed with a column and a language.
`add_translation` will add, or update, a translation if passed in the
column, language and string.
|
| |
| |
| |
| |
| |
| | |
As category is used both for display and as a link between Problem and
Contact tables, add `category_display` for use whenever a category is
displayed.
|
| | |
|
| |
| |
| |
| | |
Store a schema object on FixMyStreet::DB instead.
|
| | |
|
| | |
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| | |
Fixes #1792.
|
| |
| |
| |
| |
| | |
The front page redirects to report area, ignoring whatever is entered,
and the sign in page includes details of the demo accounts.
|
|/
|
|
|
|
| |
If you submit the auth form (as opposed to clicking a link to something
that redirects to the auth form), we should assume you want to treat
that as a login.
|
|\ |
|
| |
| |
| |
| | |
Even if no next/previous page, the number of items can be useful.
|
|\ \
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
whole team
|
| |
| |
| |
| |
| |
| | |
Pulling in a report via JavaScript that has two columns (e.g. the
inspect form) changes the size of the map, so updateSize needs to
be called.
|
| |
| |
| |
| |
| |
| | |
If the report is loaded with JavaScript, the outer form (for a new
report) is present and would otherwise take this click and start a
broken new report submission.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The outer form is using the JS validator, which means the validator is
called for any event on the inner form fields. If the inner form isn't
using the JS validator, it errors as it assumes the closest form has a
validator object on it.
Having the inner form use the JS validator shouldn't have any effect.
|
| |
| |
| |
| |
| | |
This meant if a report was loaded via JavaScript, the action scheduled
buttons were not being shown at the appropriate point.
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
The black and yellow background image tiles now look more like asphalt
and less like leather.
Also, high-dpi screens now get a double resolution tile, which avoids
noticeable jpeg artifacting on the yellow #front-main in particular.
Fixes #1715.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Emails that contain a report’s title, description, and location in the
”sidebar” will now have a map that takes you to the report’s web page
when clicked.
Fixes #1596. Thanks to @MyfanwyNixon for the suggestion!
|
| |
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| | |
|
|\ \
| |/
|/| |
|