We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73702f6 commit 299df11Copy full SHA for 299df11
src/routes/+layout.svelte
@@ -124,6 +124,17 @@
124
<div class="admin-border" />
125
{/if}
126
<div class="container p-4">
127
+ {#if userLoggedIn && !$page.data.userInfo.is_verified}
128
+ <div class="row">
129
+ <div class="col">
130
+ <div class="alert alert-warning">
131
+ <i class="bi bi-exclamation-triangle" />
132
+ <strong>Warning</strong>: as a non-verified user, you have limited access; please
133
+ contact an admin.
134
+ </div>
135
136
137
+ {/if}
138
<slot />
139
</div>
140
<div class="d-flex flex-column min-vh-100 min-vw-100 loading" class:show={$navigating || loading}>
0 commit comments