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:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user