diff --git a/ui/src/components/WorkRepository.svelte b/ui/src/components/WorkRepository.svelte index 91aa3a4..5b62ec2 100644 --- a/ui/src/components/WorkRepository.svelte +++ b/ui/src/components/WorkRepository.svelte @@ -76,37 +76,39 @@ {/each} {:catch} -

- Voici la liste des dépôts reconnus : -

-
- {#await remote_repos} -
-
- Récupération de vos dépôts GitLab … -
- {:then rrepos} - - - {/await} - - -
+ {#if !readonly} +

+ Voici la liste des dépôts reconnus : +

+
+ {#await remote_repos} +
+
+ Récupération de vos dépôts GitLab … +
+ {:then rrepos} + + + {/await} + + +
+ {/if} {/await} diff --git a/ui/src/routes/works/[wid]/index.svelte b/ui/src/routes/works/[wid]/index.svelte index c44cf0d..2aaec81 100644 --- a/ui/src/routes/works/[wid]/index.svelte +++ b/ui/src/routes/works/[wid]/index.svelte @@ -96,9 +96,10 @@
Date de fin
+ {#if w.description}
- {@html w.description} + {/if}