diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-01-23 17:16:09 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-01-23 17:16:09 +0000 |
commit | e6a3c2cadf75b773d970c7099a518e6143190824 (patch) | |
tree | 04575e7437a9380af1c4f968d3697ee33ebf11fd | |
parent | 90879c6cbdd692205b3ed4d176a303cf96e515e4 (diff) |
Zurich site nav sits over the content, not at the top
-rw-r--r-- | templates/web/zurich/header.html | 7 | ||||
-rw-r--r-- | templates/web/zurich/nav_over_content.html | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/templates/web/zurich/header.html b/templates/web/zurich/header.html index f6df75286..47d7d39d2 100644 --- a/templates/web/zurich/header.html +++ b/templates/web/zurich/header.html @@ -43,11 +43,10 @@ </div> </header> - [% pre_container_extra %] - <div class="container"> <div class="content[% " $mainclass" | html IF mainclass %]" role="main"> + [% INCLUDE 'nav_over_content.html' %] - <!-- [% INCLUDE 'debug_header.html' %] --> + [% pre_container_extra %] - [% INCLUDE 'nav_over_content.html' %]
\ No newline at end of file + <!-- [% INCLUDE 'debug_header.html' %] --> diff --git a/templates/web/zurich/nav_over_content.html b/templates/web/zurich/nav_over_content.html index d02a76b69..4dbe87652 100644 --- a/templates/web/zurich/nav_over_content.html +++ b/templates/web/zurich/nav_over_content.html @@ -1,6 +1,6 @@ - <div id="zurich-main-nav"> + <div id="zurich-main-nav" class="desk-only"> <ul> - <li><[% IF c.req.uri.path == '/around' %]span[% ELSE %]a href="/"[% END %] + <li><[% IF c.req.uri.path == '/around' || c.req.uri.path == '/' %]span[% ELSE %]a href="/"[% END %] >[% loc("Report a problem") %]</[% c.req.uri.path == '/around' ? 'span' : 'a' %]></li>[% %]<li><[% IF c.req.uri.path == '/reports' %]span[% ELSE %]a href="/reports"[% END %]>[% loc("All reports") %]</[% c.req.uri.path == '/reports' ? 'span' : 'a' %]></li>[% |