aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-10-06 09:52:42 +0100
committerZarino Zappia <mail@zarino.co.uk>2016-10-06 09:52:42 +0100
commit2cdf1b416b45e7e9521121363df6b0f530c59cf2 (patch)
treea2e0bec7492bc330e193de49dcfb8f575b93f48c
parentd8fdbf5d353238d9e4c334f06de251987f7e60cf (diff)
[Oxfordshire] Link to Shortlist in mobile footer nav menu
-rw-r--r--templates/web/oxfordshire/footer.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/oxfordshire/footer.html b/templates/web/oxfordshire/footer.html
index d004de591..b59ded05d 100644
--- a/templates/web/oxfordshire/footer.html
+++ b/templates/web/oxfordshire/footer.html
@@ -19,7 +19,10 @@
>[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/my' %]span[% ELSE %]a href="/my"[% END
%]>[% c.user_exists ? loc("Your account") : loc("Sign in") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
- %]<li><[% IF c.req.uri.path == '/reports' %]span[% ELSE %]a href="/reports"[% END
+ %][% IF c.user_exists AND c.user.has_body_permission_to('planned_reports') %]<li>
+ <[% IF c.req.uri.path == '/my/planned' %]span[% ELSE %]a href="/my/planned"[% END
+ %]>[% loc('Shortlist') %]</[% c.req.uri.path == '/my/planned' ? 'span' : 'a' %]></li>[%
+ %][% END %]<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 == '/alert' %]span[% ELSE %]a href="/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END
%]>[% loc("Local alerts") %]</[% c.req.uri.path == '/alert' ? 'span' : 'a' %]></li>[%