aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-03-14 14:54:49 +0000
committerStruan Donald <struan@exo.org.uk>2014-04-08 13:21:10 +0100
commita3f5ea204ae4383e651f181dee1ef90b77193aac (patch)
treee4156768458826e9ceab23d1329167f61472c57e
parent21bf819455562ab75874b230af82affd0138400c (diff)
split out header logo to its own template
to make it easier to change how cobrands do headers
-rw-r--r--templates/web/default/header_logo.html0
-rw-r--r--templates/web/fixmystreet/header.html2
-rw-r--r--templates/web/fixmystreet/header_logo.html1
3 files changed, 2 insertions, 1 deletions
diff --git a/templates/web/default/header_logo.html b/templates/web/default/header_logo.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/templates/web/default/header_logo.html
diff --git a/templates/web/fixmystreet/header.html b/templates/web/fixmystreet/header.html
index 6736f19f5..6ed84a85d 100644
--- a/templates/web/fixmystreet/header.html
+++ b/templates/web/fixmystreet/header.html
@@ -42,7 +42,7 @@
<div class="table-cell">
<header id="site-header" role="banner">
<div class="container">
- <a href="/" id="site-logo">[% c.cobrand.site_title | html %]</a>
+ [% INCLUDE 'header_logo.html' %]
<a href="#main-nav" id="nav-link">Main Navigation</a>
</div>
</header>
diff --git a/templates/web/fixmystreet/header_logo.html b/templates/web/fixmystreet/header_logo.html
new file mode 100644
index 000000000..e5e4aae60
--- /dev/null
+++ b/templates/web/fixmystreet/header_logo.html
@@ -0,0 +1 @@
+ <a href="/" id="site-logo">[% c.cobrand.site_title | html %]</a>