1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 18:19:25 +00:00

Block parents from the menu

This commit is contained in:
2022-04-22 04:41:37 +00:00
parent edbb137899
commit 1f30ce4d82

View File

@@ -6,8 +6,14 @@
const touchEvent = 'ontouchstart' in window ? 'touchstart' : 'click'; const touchEvent = 'ontouchstart' in window ? 'touchstart' : 'click';
</script> </script>
{{> adminHeader }} {{> adminHeader }}
{{#neq userType 'parent'}}
{{> adminNav current=current name=name }} {{> adminNav current=current name=name }}
<main class='adminContent'> <main class='adminContent'>
{{else}}
<main class='adminContent adminContent--full'>
{{/neq}}
{{{ body }}} {{{ body }}}
</main> </main>
{{> scripts }} {{> scripts }}