diff options
author | Hakim Cassimally <hakim@mysociety.org> | 2014-01-22 10:19:35 +0000 |
---|---|---|
committer | Hakim Cassimally <hakim@mysociety.org> | 2014-03-05 09:43:06 +0000 |
commit | d94ccbc4621df55cacf058b8efca1b14a8cc2dd4 (patch) | |
tree | be185600120cceebf59c3ef3908dd719ab537c40 /t/cobrand/hart.t | |
parent | cbdcd3a3f2d3b9fe4e5e3b3656bbe20b5c56bc61 (diff) |
[Hart] basic Hart cobranding
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
Diffstat (limited to 't/cobrand/hart.t')
-rw-r--r-- | t/cobrand/hart.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/t/cobrand/hart.t b/t/cobrand/hart.t new file mode 100644 index 000000000..f4a2473eb --- /dev/null +++ b/t/cobrand/hart.t @@ -0,0 +1,16 @@ +use strict; +use warnings; +use Test::More; + +use FixMyStreet::TestMech; +my $mech = FixMyStreet::TestMech->new; + +FixMyStreet::override_config { + ALLOWED_COBRANDS => [ 'hart' ], +}, sub { + ok $mech->host("hart.fixmystreet.com"), "change host to hart"; + $mech->get_ok('/'); + $mech->content_like( qr/Hart\b/ ); +}; + +done_testing(); |