✨ Added practice-button to view-quiz page
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
"edit": "Bearbeiten",
|
"edit": "Bearbeiten",
|
||||||
"delete": "Löschen",
|
"delete": "Löschen",
|
||||||
"public": "Öffentlich",
|
"public": "Öffentlich",
|
||||||
"start": "Start",
|
"start": "Starten",
|
||||||
"connect": "Verbinden",
|
"connect": "Verbinden",
|
||||||
"pin": "PIN",
|
"pin": "PIN",
|
||||||
"kick": "Kicken",
|
"kick": "Kicken",
|
||||||
@@ -142,7 +142,8 @@
|
|||||||
"other": "andere",
|
"other": "andere",
|
||||||
"other_plural": "anderen",
|
"other_plural": "anderen",
|
||||||
"donating": "Spende",
|
"donating": "Spende",
|
||||||
"find": "Finden"
|
"find": "Finden",
|
||||||
|
"practice": "Üben"
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"time_in_seconds": "Zeit in Sekunden",
|
"time_in_seconds": "Zeit in Sekunden",
|
||||||
|
|||||||
@@ -142,7 +142,8 @@
|
|||||||
"other": "other",
|
"other": "other",
|
||||||
"other_plural": "others",
|
"other_plural": "others",
|
||||||
"donating": "donating",
|
"donating": "donating",
|
||||||
"find": "Find"
|
"find": "Find",
|
||||||
|
"practice": "Practice"
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"time_in_seconds": "Time in seconds",
|
"time_in_seconds": "Time in seconds",
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
<ImportedOrNot imported={quiz.imported_from_kahoot} />
|
<ImportedOrNot imported={quiz.imported_from_kahoot} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-center m-8">
|
<div class="flex justify-center mt-8 mb-4">
|
||||||
{#if logged_in}
|
{#if logged_in}
|
||||||
<button
|
<button
|
||||||
class="px-4 py-2 leading-5 text-white transition-colors duration-200 transform bg-gray-700 rounded text-center hover:bg-gray-600 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
|
class="px-4 py-2 leading-5 text-white transition-colors duration-200 transform bg-gray-700 rounded text-center hover:bg-gray-600 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
|
||||||
@@ -91,6 +91,14 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex justify-center m-2">
|
||||||
|
<a
|
||||||
|
class="px-4 py-2 leading-5 text-white transition-colors duration-200 transform bg-gray-700 rounded text-center hover:bg-gray-600 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
|
||||||
|
href="/practice?quiz_id={quiz.id}"
|
||||||
|
>
|
||||||
|
{$t('words.practice')}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
<a href="mailto:report@mawoka.eu?subject=Report quiz {quiz.id}" class="text-sm underline">
|
<a href="mailto:report@mawoka.eu?subject=Report quiz {quiz.id}" class="text-sm underline">
|
||||||
{$t('words.report')}
|
{$t('words.report')}
|
||||||
|
|||||||
Reference in New Issue
Block a user