|
@ -82,6 +82,13 @@ import Odevzdavatko from "./Odevzdavatko.svelte"; |
|
|
</div> |
|
|
</div> |
|
|
{@html task.description} |
|
|
{@html task.description} |
|
|
|
|
|
|
|
|
|
|
|
<hr class="clearfloat" /> |
|
|
|
|
|
{#if isLoggedIn()} |
|
|
|
|
|
<Odevzdavatko id={task.id} /> |
|
|
|
|
|
{:else} |
|
|
|
|
|
<p class="zs-warning">Pro odevzdávání je potřeba se <a href={loginUrl}>přihlásit</a>.</p> |
|
|
|
|
|
{/if} |
|
|
|
|
|
|
|
|
<hr class="clearfloat" /> |
|
|
<hr class="clearfloat" /> |
|
|
|
|
|
|
|
|
<div class="solution"> |
|
|
<div class="solution"> |
|
@ -100,14 +107,6 @@ import Odevzdavatko from "./Odevzdavatko.svelte"; |
|
|
{/if} |
|
|
{/if} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
{#if !showSolution} |
|
|
|
|
|
<hr class="clearfloat" /> |
|
|
|
|
|
{#if isLoggedIn()} |
|
|
|
|
|
<Odevzdavatko id={task.id} /> |
|
|
|
|
|
{:else} |
|
|
|
|
|
<p class="zs-warning">Pro odevzdávání je potřeba se <a href={loginUrl}>přihlásit</a>.</p> |
|
|
|
|
|
{/if} |
|
|
|
|
|
{/if} |
|
|
|
|
|
{/await} |
|
|
{/await} |
|
|
|
|
|
|
|
|
{/if} |
|
|
{/if} |
|
|