| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|
|
|
|
|
| |
include logos and change the header text
closes #751
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to try and cut down on people mistakingly using this form to
try and contact their council all some 'who are you trying to contact'
options to the form that display appropriate messaged unless the 'FMS
team option is selected.
Add the validation code for this in the cobrand module.
Fixes #41
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to allow us to do funnel analysis in google analytics we need
to send a differnt page url when a user completes a report. To do this
we add a report_created=1 to the query string on either the report page
or the report confirmation page for logged in and confirm by email users
respectively.
There's a bit of complication as we don't want to set a session cookie
everywhere as that will break caching so we set a stash variable,
although if the user is logged in this is controlled by a variable in
the flash as there is already a session cookie at this point.
also, removes the code that sends an event upon report completion as
this was no use for funnel analysis.
|
| |
| |
| |
| |
| |
| |
| | |
The test relies on a body for westminster council existing which is
crated in an earlier test if you run the whole test suite. However it's
not present if you run only this test against an empty database so add
it to the list of created bodies.
|
| | |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it a bit easier to override the message in templates which
makes it a bit easier for cobrands.
Leaves the default error message in location_error stash key which
should prevent any existing logic breaking.
|
| | |
| | |
| | |
| | |
| | | |
Remove problem confirmed times as well as states
Also problem -> clinic
|
| | |
| | |
| | |
| | | |
add files and change config in cobrand
|
| | |
| | |
| | |
| | | |
Closes #703
|
| | |
| | |
| | |
| | | |
awaiting the hindi translation so don't have a link to it
|
| | |
| | |
| | |
| | |
| | | |
make links same height as on other pages
increase height of banner to be the same as other pages
|
| | |
| | |
| | |
| | | |
front page and faq
|
| | |
| | |
| | |
| | |
| | | |
Include date in alerts
Remove everything apart from the update text as we don't need it
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is useful for sites where the updates aren't published on the site
so you need a bit more context in the email alerts.
Add inlude_time_in_update_alerts to default cobrand, off as default
If this is set then the date is added after the name string in the
email, passing in 'alert' as the type to dt_prettify in order to allow
the cobrand to format it accordingly.
This does require pulling out the alert confirmed time from the database
in the send_alerts code where it wasn't before.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
uses select2 for the dropdown and a cobrand call to fetch the list of
report titles as the clinic names.
Relies on a redirect in httpd.conf to make the non JS version work.
Still leaves the postcode search in place as select2 won't accept custom
terms if you base it on a select box, which we want to do so it works if
JavaScript is disabled
Fixes #723
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change to use sites terminology
update notes on what happens to information
remove some unused template tags
|
| | |
| | |
| | |
| | |
| | | |
only really want the title and the details as all the rest is not
relevant
|
| | |
| | |
| | |
| | |
| | | |
and display a message on the report page to indicate the update has been
sent as it's never displayed
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add never_confirm_updates setting to cobrand that, when set to 0 means
that comments are confirmed with no confirmation step. Essentially
behaves as it would if the user was logged in.
Also add a flag to the flash that indicates the comment was accepted to
you can display a message on the report page if required
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is to stop the main FixMyStreet .po file being filled up with
strings that only apply to a single Cobrand that are not relevant to
people running their own fairly vanilla version.
Restrict the list of templates that we pull strings out of by generating
a list of all the ones in currently translated cobrands for minimal
impact. Use that to create the FixMyStreet.po file in gettext-extract.
I've left the existing cobrands in but at some point we should split
these out.
Add a specific script for generating Cobrand .po files which extracts
strings from the Cobrand's templates. This is then translated and the
translated file place in the locale/$lang/LC_MESSAGES.
The the merge_cobrand_po script is run which will create an
autoCobrand.po file which has the Cobrand strings and the FixMyStreet
strings. This is then the domain used by the Cobrand.
Any cobrand specific strings from the Perl code are still in the
main FixMyStreet .po file but there should be relatively few of them so
it's less of an issue.
|
| | |
| | |
| | |
| | |
| | |
| | | |
remove photos etc
update step text
change background colour and remove crop shadow
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
button -> orange
set background colour for input boxes
make everything a bit wider and left aligned
update the what is this for text
|
| | |
| | |
| | |
| | |
| | | |
Problem -> Stockout
change mysoc nav to be language changer
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Change colour scheme to black and white
|
| | |
| | |
| | |
| | | |
to make it easier to change how cobrands do headers
|
| | | |
|
| | |
| | |
| | |
| | | |
Make sure mapit_id_whitelist set for tests that submit
|
| | | |
|
| | |
| | |
| | |
| | | |
for ease of alteration/removal in cobrands
|
| | |
| | |
| | |
| | | |
we don't want any RSS feeds for the site so disable
|
| | |
| | |
| | |
| | | |
makes removing RSS from cobrands much easier
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
removing so much that we might as well copy the template, especially
as we need to change the header include.
Removed from default:
most of shadow wrap
RSS
list of updates which are not public
plus Report -> Clinic
|
| | |
| | |
| | |
| | | |
remove login, name made public, photo upload, alert sign up
|
| | |
| | |
| | |
| | | |
basically everything bar report and help
|
| |/
| |
| |
| |
| |
| |
| | |
also, make readonly, disable photos, questionnaires, never
hide old pins
Fixes #701
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
At the moment it's hard to use google analytics to track when someone
has completed a report due to the various redirects which can occur too
quickly for the analytics javascript to fire. So now we fire an event if
we've set a flash value. This also allows us to track how they created
the report.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run bin/geocode -h for options.
Has:
* configurable cobrand / config-file / geocoder
* some diagnostics for missing cobrand
Minor fixes rebased into this commit:
* bin/geocode error if no --cobrand passed
* bin/geocode docs and accept GEOCODER as string
Notable TODOs remaining:
* reverse geocoding, to double check that latitude actually maps
somewhere useful (and is within Cobrand's boundaries)
* diagnosis of relevant CONFIG settings
* flag to disable caching
|