diff options
author | Struan Donald <struan@exo.org.uk> | 2014-07-01 12:08:50 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-07-01 17:42:59 +0100 |
commit | 2712bbf5fdc69276024f15c85b4567308882ed1e (patch) | |
tree | 97f7cdfe9f760d75e0b2ad4829d159e9be5d660f | |
parent | ac750551eb5d71008f59bc4d31a911f1b9ea8cb1 (diff) |
split out footer marketing to own template
allows it to be overridden in cobrands without the need to provide a
whole new footer template
-rw-r--r-- | templates/web/fixmystreet/footer.html | 30 | ||||
-rw-r--r-- | templates/web/fixmystreet/front/footer-marketing.html | 29 |
2 files changed, 30 insertions, 29 deletions
diff --git a/templates/web/fixmystreet/footer.html b/templates/web/fixmystreet/footer.html index f40731372..3cdc3dfb8 100644 --- a/templates/web/fixmystreet/footer.html +++ b/templates/web/fixmystreet/footer.html @@ -1,34 +1,6 @@ [% IF pagefooter %] <footer role="content-info"> - <div class="tablewrapper bordered"> - <div id="footer-mobileapps"> - <h4>The FixMyStreet App</h4> - <p> - <a href="https://itunes.apple.com/gb/app/fixmystreet/id297456545"> - <img alt="FixMyStreet app on the App Store" src="/cobrands/fixmystreet/images/itunes_store_logo.png" /> - </a> - <a href="https://play.google.com/store/apps/details?id=org.mysociety.FixMyStreet"> - <img alt="FixMyStreet Android app on Google Play" src="/cobrands/fixmystreet/images/google_play_logo.png" /> - </a> - </p> - </div> - - <div id="footer-help"> - <p> - Powered by <a class="platform-logo" href="http://fixmystreet.org/">FixMyStreet Platform</a> - </p> - <ul> - <li> - <h4>[% loc('Are you a developer?') %]</h4> - <p>[% loc('Would you like to contribute to FixMyStreet? Our code is open source and <a href="http://fixmystreet.org">available at fixmystreet.org</a>.') %]</p> - </li> - <li> - <h4>[% loc('Are you from a council?') %]</h4> - <p>[% loc('Would you like better integration with FixMyStreet? <a href="http://www.mysociety.org/for-councils/fixmystreet/">Find out about FixMyStreet for councils</a>.') %]</p> - </li> - </ul> - </div> - </div> + [% INCLUDE 'front/footer-marketing.html' %] </footer> [% END %] </div><!-- .content role=main --> diff --git a/templates/web/fixmystreet/front/footer-marketing.html b/templates/web/fixmystreet/front/footer-marketing.html new file mode 100644 index 000000000..8d3748461 --- /dev/null +++ b/templates/web/fixmystreet/front/footer-marketing.html @@ -0,0 +1,29 @@ + <div class="tablewrapper bordered"> + <div id="footer-mobileapps"> + <h4>The FixMyStreet App</h4> + <p> + <a href="https://itunes.apple.com/gb/app/fixmystreet/id297456545"> + <img alt="FixMyStreet app on the App Store" src="/cobrands/fixmystreet/images/itunes_store_logo.png" /> + </a> + <a href="https://play.google.com/store/apps/details?id=org.mysociety.FixMyStreet"> + <img alt="FixMyStreet Android app on Google Play" src="/cobrands/fixmystreet/images/google_play_logo.png" /> + </a> + </p> + </div> + + <div id="footer-help"> + <p> + Powered by <a class="platform-logo" href="http://fixmystreet.org/">FixMyStreet Platform</a> + </p> + <ul> + <li> + <h4>[% loc('Are you a developer?') %]</h4> + <p>[% loc('Would you like to contribute to FixMyStreet? Our code is open source and <a href="http://fixmystreet.org">available at fixmystreet.org</a>.') %]</p> + </li> + <li> + <h4>[% loc('Are you from a council?') %]</h4> + <p>[% loc('Would you like better integration with FixMyStreet? <a href="http://www.mysociety.org/for-councils/fixmystreet/">Find out about FixMyStreet for councils</a>.') %]</p> + </li> + </ul> + </div> + </div> |