From 8142ab98cb9e0c095f628e2d413fb0cc67753073 Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Fri, 29 Apr 2016 17:36:26 +0100 Subject: [fixmystreet.com] Add standard mySociety footer. Like a number of recent council cobrands, we remove parts of the default desktop footer and append our own responsive one in `footer_extra.html`. This also updates the FixMyStreet app logos (for fixmystreet.com and any other cobrands that use them) to the most recent style of Apple / Google sanctioned badges. Fixes #1385. --- templates/web/base/footer.html | 3 - templates/web/bromley/footer.html | 3 - templates/web/fixmystreet.com/footer-nav.html | 24 --- templates/web/fixmystreet.com/footer_extra.html | 87 ++++++++ .../fixmystreet.com/front/footer-marketing.html | 15 -- templates/web/greenwich/footer.html | 3 - templates/web/harrogate/footer.html | 3 - web/cobrands/fixmystreet.com/_mysoc_footer.scss | 230 +++++++++++++++++++++ web/cobrands/fixmystreet.com/base.scss | 108 +++++++++- .../images/mysoc-footer/icon-facebook.png | Bin 0 -> 344 bytes .../images/mysoc-footer/icon-facebook.svg | 1 + .../images/mysoc-footer/icon-facebook@2x.png | Bin 0 -> 612 bytes .../images/mysoc-footer/icon-github.png | Bin 0 -> 526 bytes .../images/mysoc-footer/icon-github.svg | 1 + .../images/mysoc-footer/icon-github@2x.png | Bin 0 -> 994 bytes .../images/mysoc-footer/icon-twitter.png | Bin 0 -> 436 bytes .../images/mysoc-footer/icon-twitter.svg | 1 + .../images/mysoc-footer/icon-twitter@2x.png | Bin 0 -> 836 bytes .../images/mysoc-footer/logo-fms-platform.png | Bin 0 -> 2123 bytes .../images/mysoc-footer/logo-fms-platform.svg | 1 + .../images/mysoc-footer/logo-fms-platform@2x.png | Bin 0 -> 4787 bytes .../images/mysoc-footer/logo-mysociety.png | Bin 0 -> 2178 bytes .../images/mysoc-footer/logo-mysociety.svg | 1 + .../images/mysoc-footer/logo-mysociety@2x.png | Bin 0 -> 4340 bytes web/cobrands/fixmystreet.com/layout.scss | 75 +++---- .../fixmystreet/images/google_play_logo.png | Bin 4650 -> 3008 bytes .../fixmystreet/images/google_play_logo@2.png | Bin 0 -> 6575 bytes .../fixmystreet/images/itunes_store_logo.png | Bin 2123 -> 1793 bytes .../fixmystreet/images/itunes_store_logo@2.png | Bin 0 -> 3921 bytes 29 files changed, 459 insertions(+), 97 deletions(-) delete mode 100644 templates/web/fixmystreet.com/footer-nav.html create mode 100644 templates/web/fixmystreet.com/footer_extra.html create mode 100644 web/cobrands/fixmystreet.com/_mysoc_footer.scss create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-facebook.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-facebook.svg create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-facebook@2x.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-github.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-github.svg create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-github@2x.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-twitter.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-twitter.svg create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/icon-twitter@2x.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/logo-fms-platform.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/logo-fms-platform.svg create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/logo-fms-platform@2x.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/logo-mysociety.png create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/logo-mysociety.svg create mode 100644 web/cobrands/fixmystreet.com/images/mysoc-footer/logo-mysociety@2x.png create mode 100644 web/cobrands/fixmystreet/images/google_play_logo@2.png create mode 100644 web/cobrands/fixmystreet/images/itunes_store_logo@2.png diff --git a/templates/web/base/footer.html b/templates/web/base/footer.html index 7626736a0..c10d9c008 100644 --- a/templates/web/base/footer.html +++ b/templates/web/base/footer.html @@ -5,9 +5,6 @@ [% END %] - [% IF c.cobrand.moniker == 'fixmystreet' AND bodyclass != 'mappage' %] - [% INCLUDE 'footer-nav.html' %] - [% END %] - [% IF c.cobrand.moniker == 'fixmystreet' AND bodyclass != 'mappage' %] - [% INCLUDE 'footer-nav.html' %] - [% END %] - [% IF c.cobrand.moniker == 'fixmystreet' AND bodyclass != 'mappage' %] - [% INCLUDE 'footer-nav.html' %] - [% END %]