aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-06-14 17:30:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-06-14 17:30:52 +0100
commitf33116e2454b07820fa78bf8f666377b8179d167 (patch)
tree81b4a07fb97b2d2c5379ec62a63d84baf7336216
parent041d730e186ae6398c9fc61446bc67373ace0ec8 (diff)
[Stevenage] Factor out footer-marketing.html.
-rw-r--r--templates/web/stevenage/footer.html26
-rw-r--r--templates/web/stevenage/front/footer-marketing.html25
2 files changed, 26 insertions, 25 deletions
diff --git a/templates/web/stevenage/footer.html b/templates/web/stevenage/footer.html
index d276094c1..149ad171b 100644
--- a/templates/web/stevenage/footer.html
+++ b/templates/web/stevenage/footer.html
@@ -1,30 +1,6 @@
[% IF pagefooter %]
<footer role="contentinfo">
- <div class="tablewrapper bordered">
- <div id="footer-mobileapps">
- <h4>Mobile apps</h4>
-
- <ul>
- <li><a class="m-app-iphone" href="http://itunes.apple.com/gb/app/fixmystreet/id297456545">iPhone</a></li>
- <li><a class="m-app-droid" href="https://market.android.com/details?id=com.android.fixmystreet">Android</a></li>
- <li><a class="m-app-nokia" href="http://store.ovi.com/content/107557">Nokia</a></li>
- </ul>
- </div>
-
- <div id="footer-help">
- <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://github.com/mysociety/fixmystreet">available on GitHub</a>.') %]</p>
- </li>
- <li>
- <h4>[% loc('Are you from a council?') %]</h4>
- <p>[% loc('Would you like better integration with FixMyStreet? <a href="https://www.fixmystreet.com/pro/">Find out about FixMyStreet Pro</a>.') %]</p>
- </li>
- </ul>
- </div>
- </div>
- <p><a href="/privacy">Privacy and cookies</a></p>
+ [% INCLUDE 'front/footer-marketing.html' %]
</footer>
[% END %]
</div><!-- .content role=main -->
diff --git a/templates/web/stevenage/front/footer-marketing.html b/templates/web/stevenage/front/footer-marketing.html
new file mode 100644
index 000000000..93d8778f6
--- /dev/null
+++ b/templates/web/stevenage/front/footer-marketing.html
@@ -0,0 +1,25 @@
+<div class="tablewrapper bordered">
+ <div id="footer-mobileapps">
+ <h4>Mobile apps</h4>
+
+ <ul>
+ <li><a class="m-app-iphone" href="http://itunes.apple.com/gb/app/fixmystreet/id297456545">iPhone</a></li>
+ <li><a class="m-app-droid" href="https://market.android.com/details?id=com.android.fixmystreet">Android</a></li>
+ <li><a class="m-app-nokia" href="http://store.ovi.com/content/107557">Nokia</a></li>
+ </ul>
+ </div>
+
+ <div id="footer-help">
+ <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://github.com/mysociety/fixmystreet">available on GitHub</a>.') %]</p>
+ </li>
+ <li>
+ <h4>[% loc('Are you from a council?') %]</h4>
+ <p>[% loc('Would you like better integration with FixMyStreet? <a href="https://www.fixmystreet.com/pro/">Find out about FixMyStreet Pro</a>.') %]</p>
+ </li>
+ </ul>
+ </div>
+</div>
+<p><a href="/privacy">Privacy and cookies</a></p>