aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-06 15:04:41 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-06 15:04:41 +0100
commit9fc69a31cda118948e3714bc7f4fff9d0a3ca84e (patch)
treedd59c7f3deedaf93b0b4688a92bede25631eb459
parentfd9cbe6ae8c30a8da959caabff03a48e6ea43a0c (diff)
parent2cdf1b416b45e7e9521121363df6b0f530c59cf2 (diff)
Merge remote-tracking branch 'origin/issues/forcouncils/36-mobile-inspector-improvements'
-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>[%