aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/angus/main_menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/angus/main_menu.html')
-rw-r--r--templates/web/angus/main_menu.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/web/angus/main_menu.html b/templates/web/angus/main_menu.html
new file mode 100644
index 000000000..3a07c61cd
--- /dev/null
+++ b/templates/web/angus/main_menu.html
@@ -0,0 +1,24 @@
+[%
+ SET base = "";
+ SET base = c.cobrand.base_url IF admin;
+%]
+<ul class="nav-menu [% extra_class %]">
+ <li><[% IF c.req.uri.path == '/'
+ %]span[% ELSE %]a href="[% base %]/"[% END %] class="report-a-problem-btn"
+ >[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/my'
+ %]span[% ELSE %]a href="[% base %]/my"[% END
+ %]>[% loc("Your reports") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/reports/Angus'
+ %]span[% ELSE %]a href="[% base %]/reports/Angus"[% END
+ %]>[% loc("All reports") %]</[% c.req.uri.path == '/reports/Angus' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/alert'
+ %]span[% ELSE %]a href="[% base %]/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END
+ %]>[% loc("Local alerts") %]</[% c.req.uri.path == '/alert' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/faq'
+ %]span[% ELSE %]a href="[% base %]/faq"[% END
+ %]>[% loc("Help") %]</[% c.req.uri.path == '/faq' ? 'span' : 'a' %]></li>[%
+ %]<li class="nav-menu__item--privacy"><[% IF c.req.uri.path == '/privacy'
+ %]span[% ELSE %]a href="[% base %]/privacy"[% END
+ %]>[% loc("Privacy") %]</[% c.req.uri.path == '/privacy' ? 'span' : 'a' %]></li>
+</ul>