Skip to content

Commit

Permalink
Include the lang and book codes in wizard basket
Browse files Browse the repository at this point in the history
By request of UX team
  • Loading branch information
linearcombination committed Jan 3, 2024
1 parent 932bf08 commit 3ad2d85
Showing 1 changed file with 40 additions and 8 deletions.
48 changes: 40 additions & 8 deletions frontend/src/components/WizardBasket.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-4 bg-white text-[#66768B] mt-2"
>
{getName(langCodeAndName)}
<div>
<span>{getName(langCodeAndName)}</span><span class="ml-2"
>({getCode(langCodeAndName)})</span
>
</div>
<button on:click={() => uncheckGatewayLanguage(langCodeAndName)}>
<svg
width="24"
Expand All @@ -161,7 +165,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-4 bg-white text-[#66768B] mt-2"
>
{getName(langCodeAndName)}
<div>
<span>{getName(langCodeAndName)}</span><span class="ml-2"
>({getCode(langCodeAndName)})</span
>
</div>
</div>
{/if}
{/each}
Expand All @@ -170,7 +178,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-4 bg-white text-[#66768B] mt-2"
>
{getName(langCodeAndName)}
<div>
<span>{getName(langCodeAndName)}</span><span class="ml-2"
>({getCode(langCodeAndName)})</span
>
</div>
<button on:click={() => uncheckHeartLanguage(langCodeAndName)}>
<svg
width="24"
Expand All @@ -190,7 +202,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-4 bg-white text-[#66768B] mt-2"
>
{getName(langCodeAndName)}
<div>
<span>{getName(langCodeAndName)}</span><span class="ml-2"
>({getCode(langCodeAndName)})</span
>
</div>
</div>
{/if}
{/each}
Expand Down Expand Up @@ -258,7 +274,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-4 bg-white text-[#66768B] mt-2"
>
{getName(bookCodeAndName)}
<div>
<span>{getName(bookCodeAndName)}</span><span class="ml-2"
>({getCode(bookCodeAndName)})</span
>
</div>
<button on:click={() => uncheckBook(bookCodeAndName)}>
<svg
width="24"
Expand All @@ -278,7 +298,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-4 bg-white text-[#66768B] mt-2"
>
{getName(bookCodeAndName)}
<div>
<span>{getName(bookCodeAndName)}</span><span class="ml-2"
>({getCode(bookCodeAndName)})</span
>
</div>
</div>
{/if}
{/each}
Expand All @@ -295,7 +319,11 @@
<div
class="flex items-center justify-between w-full rounded-lg bg-white text-[#66768B] p-2 mt-2"
>
{getName(bookCodeAndName)}
<div>
<span>{getName(bookCodeAndName)}</span><span class="ml-2"
>({getCode(bookCodeAndName)})</span
>
</div>
<button on:click={() => uncheckBook(bookCodeAndName)}>
<svg
width="24"
Expand All @@ -315,7 +343,11 @@
<div
class="flex items-center justify-between w-full rounded-lg p-2 bg-white text-[#66768B] mt-2"
>
{getName(bookCodeAndName)}
<div>
<span>{getName(bookCodeAndName)}</span><span class="ml-2"
>({getCode(bookCodeAndName)})</span
>
</div>
</div>
{/if}
{/each}
Expand Down

0 comments on commit 3ad2d85

Please sign in to comment.