| Commit message (Collapse) | Author | Age | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | | |
Fixes #4.
|
| | | |
|
| | |
| | |
| | |
| | | |
Now, instead of selecting a potentially bad result, it shows a list of results hashed together using the first three words in display_name.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
(Swedish version of fixmystreet in the making
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Provide a button to download the details and text of reports
at the second "Look up" button on /dashboard.
Provides acknowledged, fixed, closed dates by parsing updates.
Fixes #692 (and mysociety/FixMyStreet-Commercial#399)
Email is not shown, and name honours anonymous flag: as /dashboard
is accessible to people who are from_body (who still do not see
anon-users name and email in the FMS web app.)
A basic test is provided as per Zurich's similar report.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This deals with the issue of hiding a two_tier category for the
Hart cobrand, without removing it for the whole of Hampshire,
e.g. see https://github.com/mysociety/FixMyStreet-Commercial/issues/477
but is written as a generic extension to setup_categories_and_bodies
as it may be generally useful.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Guidance in prominent places (report, all reports, and message
on confirming problem.)
Should alleviate mysociety/FixMyStreet-Commercial#481 and
mysociety/FixMyStreet-Commercial#485
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Originally copied from template of Bromley code, substituting logo,
council ID, geolocation data, and renaming .scss variables etc.
(NB: this was a bad idea. As per notes/cobranding.txt, should have
started with less copying of files, as this required more cleanup.
Bromley's code has some particularities, like smaller map, split
First/Last name fields and so on.
The current branch has been rebased to present a slightly idealised
picture of the process.)
(Includes contributions by @davea and @stevenday)
* Some code cleanup and added is_two_tier
* Add Hart-specific links to footer
* Shift FMS nav out of the main header
* Update styling to follow design more closely
* Flip nav colours to better indicate links
* Make header banner entire width of the page
* Stretch footer bg to entire width of page
* Add top-level nav links
* Correct header height on mobile
* Correct wording of top menu item
* Remove FMS logo from top of page
* Shift top level nav to correct position
* Invert media query so IE8 displays header properly
* hide folding triangle, as makes no sense on this cobrand
* Some more renaming of Bromley to Hart
* Treat Hart the same as Bromley in the JS
* Whitespace/formatting fixes
* Basic test for cobrand
* Javascript #map_box fixes
* Make sure #map_box is not in desk-only
* ensure there is only single map (one .wrapper only)
* colour tweaks
* Fix example places (postcode, spelling)
* Basic FAQ text
* Set Zoom level 3
* CSS/HTML/JS tweaks removing Bromley customizations
* Switch templates to put navigation in footer, as FMS.com does
* remaining HTML/CSS changes for large map
* replace favicon
* move site-logo scss to one place
* make small logo transparent
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Usually you won't get to "Your Reports" page without any
content (reports or updates) but it's possible to do so,
as we just discovered in a client meeting, logging into
that page, and arriving on a screen of blank content with
no guidance. This patch shows some text and a link to
create a new report, if there aren't any problems/updates.
Fixes #671
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #677. The query to fetch the related alert sometimes:
* retrieves no result, causing an error on $alert->id
* retrieves multiple results, causing deprecation warnings
(e.g. which may at some point become future errors in DBIC)
This commit turns the resultset('DB::Alert')->find(...) into a
search(...) and loops over the results, to suppress them.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The call to set_lang_and_domain needs to happen before
the first string is translated (the report state).
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the cross sell function to put an 'advert' for the survey on the
various confirmation pages
Create new alert email templates for fixmystreet co-brand so we can
include the survey link on those alone
All as one commit for ease of reverting when the survey is done.
|
| | |
| | |
| | |
| | | |
Fixes #653.
|
| | | |
|
| | |
| | |
| | |
| | | |
Following on from f117167 (and fixing comment from that commit).
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"The length of 2000 characters is causing some issues in the underline
back office application."
Updated to include a comment making it (hopefully) clearer which council
this is for - thanks @davewhiteland!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This value is now cached, but the template calls the function,
calculating it anew, so for old reports (closed within SLA) the
problem_row.html template showed these as overdue. Instead, we point
the template at a function which first checks the cached value.
(Attempting to roll this functionality into the .overdue() method itself
caused a fair amount of collateral test breakage, and it seems safest to
extract the caching function for now.)
Closes https://github.com/mysociety/FixMyStreet-Commercial/issues/462
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
See https://github.com/mysociety/FixMyStreet-Commercial/issues/461
Again, we just need to substitute the %params line (which elides
hidden reports) for the less restrictive %date_params.
This commit includes very basic tests for the previously untested
?export=1 functionality.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Test that the slash is added in correct place (the base URL should not
have its own trailing slash).
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Remove from admin_base_url (which wraps config vars like
{ADMIN_,}BASE_URL) and add to places in code which aren't
expecting it.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
As per comments after testing mysociety/FixMyStreet-Commercial#459, the
business logic of the actual state changes is fine, but the stats do
also then need to include hidden records.
|
| | |
| | |
| | |
| | |
| | | |
To allow us to infer additional stats changes requirements such
as in mysociety/FixMyStreet-Commercial#459 better in future.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
First test that this page is only available to superuser.
Then test that the moderated and fixed stats are doing something that
is (hopefully) the spec in mysociety/FixMyStreet-Commercial#459
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
see mysociety/FixMyStreet-Commercial#459 the new requirement is for
"Innerhalb von fübeitstagen abgeschlossen" - a report is dealt with
(abgeschlossen) as soon as the public state is Beantwortet (db: fixed -
council or closed) or Unsichtbar (en: Invisible, db: hidden).
Have added this as {closed_overdue} but have retained the logic for
{subdiv_overdue} logged in the %extra hash for now, in case it is
needed.
Note: as per Matthew "as with confirmed/in progress this should be 6 -
it's five days from moderation so is most simply just done as being six
since creation"
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
mysociety/FixMyStreet-Commercial#459 - we move "confirmed" to being
a moderated-but-not-complete state, and run the check for ->overdue
also on changing status from 'unconfirmed' (but only the first time,
so only if $extra->{moderated_overdue} isn't already set.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Use the internal hash URL of the photo so that it can still be seen in
the admin interface.
|
| | | |
|