New setting delegated_qa to store QA managers

This commit is contained in:
nemunaire 2023-07-25 09:04:31 +02:00
commit d2f409db7a
11 changed files with 148 additions and 20 deletions

View file

@ -68,6 +68,7 @@
<span class="d-none d-md-inline">Étapes</span>
</NavLink>
</NavItem>
{#if $auth && $auth.is_manager}
<NavItem>
<NavLink
href="teams"
@ -86,6 +87,7 @@
<span class="d-none d-md-inline">Dépôts</span>
</NavLink>
</NavItem>
{/if}
</Nav>
<Nav class="ms-auto text-light" navbar>
<NavItem class="ms-2 text-truncate">

View file

@ -1,9 +1,11 @@
<script>
import { goto } from '$app/navigation';
import { auth } from '$lib/stores/auth';
import { themes } from '$lib/stores/themes';
import {
Button,
Container,
Table,
} from 'sveltestrap';
@ -19,6 +21,14 @@
</script>
<Container class="mt-2 mb-5">
{#if $auth && $auth.is_manager}
<Button
href="export"
class="float-end"
>
Exporter toutes les remarques
</Button>
{/if}
<h2>
Scénarios
</h2>