Added text imported-by in search-results

This commit is contained in:
Mawoka
2022-06-28 21:37:12 +02:00
parent 16f53d2ed6
commit 4842167597
2 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -144,7 +144,8 @@
"this_session?": "This session?" "this_session?": "This session?"
}, },
"explore_page": { "explore_page": {
"made_by": "Made by" "made_by": "Made by",
"imported_by": "Imported by"
}, },
"search_page": { "search_page": {
"at_least_3_characters": "Enter at least 3 characters..." "at_least_3_characters": "Enter at least 3 characters..."
+5 -1
View File
@@ -37,7 +37,11 @@
</div> </div>
<div class="flex mt-4"> <div class="flex mt-4">
<span <span
>{$t('explore_page.made_by')} >{#if quiz.imported_from_kahoot === true}
{$t('explore_page.imported_by')}
{:else}
{$t('explore_page.made_by')}
{/if}
{#if enable_html}{@html quiz.user}{:else}{quiz.user}{/if}</span {#if enable_html}{@html quiz.user}{:else}{quiz.user}{/if}</span
> >
</div> </div>