ui: Indicates Reverse exercices
This commit is contained in:
parent
59344893cb
commit
373bd83640
@ -11,7 +11,7 @@
|
||||
} from '@sveltestrap/sveltestrap';
|
||||
|
||||
import { my } from '$lib/stores/my.js';
|
||||
import { max_solved } from '$lib/stores/themes.js';
|
||||
import { exercices_idx, max_solved } from '$lib/stores/themes.js';
|
||||
import { myThemes } from '$lib/stores/mythemes.js';
|
||||
|
||||
export { className as class };
|
||||
@ -45,6 +45,11 @@
|
||||
></div>
|
||||
{/if}
|
||||
<CardBody class="text-indent">
|
||||
{#if exercice}
|
||||
{#if $exercices_idx[exercice.id].tags.includes("Reverse") || $exercices_idx[exercice.id].tags.includes("Reverse Engineering")}
|
||||
<Badge class="float-end">#Reverse</Badge>
|
||||
{/if}
|
||||
{/if}
|
||||
<CardTitle class="fw-bolder">
|
||||
{#if $my && $my.team_id}
|
||||
<div class="float-end">
|
||||
|
Loading…
x
Reference in New Issue
Block a user