diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-01-23 17:54:12 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-01-23 17:54:12 +0000 |
commit | ff8802665f5fe3a8c0ba9ca95b14932ba0421c8a (patch) | |
tree | 86c65b8ab3c9ebfd9f77cdfe59ec5a3986a40635 | |
parent | f104509412e15c68685538962a7613b933352611 (diff) |
reintroduce Zurich menu but with mob-only (never normally displayed on wide screens, because its in the zurich-main-nav now
-rw-r--r-- | templates/web/zurich/footer.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/web/zurich/footer.html b/templates/web/zurich/footer.html index 6b8ad004d..c5ebe5b0c 100644 --- a/templates/web/zurich/footer.html +++ b/templates/web/zurich/footer.html @@ -11,6 +11,15 @@ [% tprintf(loc('Hi %s'), c.user.name || c.user.email) %] </p><p><a href="/auth/sign_out">[% loc('sign out') %]</a> </p> + [% ELSE %] + <ul id="main-menu" class="mob-only"> + <li><[% IF c.req.uri.path == '/' %]span[% ELSE %]a href="/"[% END %] + >[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? '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>[% + %]<li><[% IF c.req.uri.path == '/faq' %]span[% ELSE %]a href="/faq"[% END + %]>[% loc("Help") %]</[% c.req.uri.path == '/faq' ? 'span' : 'a' %]></li> + </ul> [% END %] </div> </div> |