diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-03-31 13:53:00 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-03-31 13:53:00 +0100 |
commit | 6702f44f92e9c74fe6d2dd1c69c5418a15af178c (patch) | |
tree | eb6c54b26fee9e15ed31e476f4ceadce256c908e /templates/web | |
parent | ca306d7bbb0bf0baa8d800ea1482b1faa3431022 (diff) |
[fixmystreet.com] Move country lookup client side.
There's no need for the IP->country lookup, only used in JavaScript
to display a banner, to require a call to the FixMyStreet server.
Diffstat (limited to 'templates/web')
-rw-r--r-- | templates/web/base/front/international_banner.html | 0 | ||||
-rw-r--r-- | templates/web/fixmystreet.com/front/international_banner.html | 11 |
2 files changed, 0 insertions, 11 deletions
diff --git a/templates/web/base/front/international_banner.html b/templates/web/base/front/international_banner.html deleted file mode 100644 index e69de29bb..000000000 --- a/templates/web/base/front/international_banner.html +++ /dev/null diff --git a/templates/web/fixmystreet.com/front/international_banner.html b/templates/web/fixmystreet.com/front/international_banner.html deleted file mode 100644 index 303d52851..000000000 --- a/templates/web/fixmystreet.com/front/international_banner.html +++ /dev/null @@ -1,11 +0,0 @@ -[% country = c.cobrand.get_country_for_ip_address(c.req.address) -%] -[%- IF country AND country != 'GB' -%] -<div class="top_banner top_banner--country"> - <a href="#" class="top_banner__close">Close</a> - <p> - This site is for reporting <strong>problems in the UK</strong>. There are FixMyStreet sites - <a href="http://www.fixmystreet.org/sites/">all over the world</a>, or you - could set up your own using the <a href="http://www.fixmystreet.org/">FixMyStreet Platform</a>. - </p> -</div> -[%- END -%] |