fix: smaller visual "bug" fixes

This commit is contained in:
Livio Bieri 2024-02-05 14:54:52 +01:00
parent a921d5f548
commit b44db0d788
6 changed files with 8 additions and 6 deletions

View File

@ -26,7 +26,7 @@ const feedbackRequesterName = computed(() => {
:key="criteria.course_completion_id" :key="criteria.course_completion_id"
class="pb-10" class="pb-10"
> >
<span>{{ criteria.title }}</span> <span class="text-gray-900">{{ criteria.title }}</span>
<div class="mt-3 grid grid-cols-2 border-2 border-gray-200"> <div class="mt-3 grid grid-cols-2 border-2 border-gray-200">
<!-- Feedback requester assessment --> <!-- Feedback requester assessment -->
<div class="flex h-12 items-center pl-4"> <div class="flex h-12 items-center pl-4">

View File

@ -31,7 +31,7 @@ const onFailed = () => {
<template> <template>
<div class="mt-16 space-y-4 bg-gray-200 p-7"> <div class="mt-16 space-y-4 bg-gray-200 p-7">
<span>{{ $t("a.Beurteilungskriterium") }}:</span> <span>{{ $t("a.Leistungsziel") }}:</span>
<div class="text-bold text-xl">{{ description }}</div> <div class="text-bold text-xl">{{ description }}</div>
</div> </div>
<div class="mt-16 flex flex-row items-center pb-4"> <div class="mt-16 flex flex-row items-center pb-4">

View File

@ -25,7 +25,7 @@ const feedbackProviderName = computed(() => {
:key="criteria.course_completion_id" :key="criteria.course_completion_id"
class="mb-10" class="mb-10"
> >
<span>{{ criteria.title }}</span> <span class="text-gray-900">{{ criteria.title }}</span>
<div class="mt-3 grid grid-cols-2 border-2 border-gray-200"> <div class="mt-3 grid grid-cols-2 border-2 border-gray-200">
<!-- Feedback requester assessment --> <!-- Feedback requester assessment -->
<div class="flex h-12 items-center pl-4"> <div class="flex h-12 items-center pl-4">

View File

@ -86,7 +86,7 @@ const getParticipantById = (id: string): Participant | null => {
<it-icon-check class="h-5 w-5"></it-icon-check> <it-icon-check class="h-5 w-5"></it-icon-check>
</span> </span>
</div> </div>
<span>{{ $t("a.Ergebnisse abgegeben") }}</span> <span>{{ $t("a.Selbsteinschätzung geteilt") }}</span>
</template> </template>
<template v-if="item.status == 'EVALUATED'"> <template v-if="item.status == 'EVALUATED'">
<div <div
@ -96,7 +96,7 @@ const getParticipantById = (id: string): Participant | null => {
<it-icon-check class="h-5 w-5"></it-icon-check> <it-icon-check class="h-5 w-5"></it-icon-check>
</span> </span>
</div> </div>
<span>{{ $t("a.Bewertung freigeben") }}</span> <span>{{ $t("a.Fremdeinschätzung freigeben") }}</span>
</template> </template>
</div> </div>
<!-- Right --> <!-- Right -->
@ -123,7 +123,7 @@ const getParticipantById = (id: string): Participant | null => {
}, },
}" }"
> >
{{ $t("a.Fremdeinschätzung anzeigen") }} {{ $t("a.Selbsteinschätzung anzeigen") }}
</router-link> </router-link>
</div> </div>
</div> </div>

View File

@ -103,6 +103,7 @@ onUnmounted(() => {
:show-start-button="false" :show-start-button="false"
:show-previous-button="showPreviousButton" :show-previous-button="showPreviousButton"
:base-url="props.learningUnit.evaluate_url" :base-url="props.learningUnit.evaluate_url"
:close-button-variant="learningUnitHasFeedbackPage ? 'close' : 'mark_as_done'"
:end-badge-text=" :end-badge-text="
learningUnitHasFeedbackPage ? $t('general.submission') : undefined learningUnitHasFeedbackPage ? $t('general.submission') : undefined
" "

View File

@ -110,6 +110,7 @@ const onRequestFeedback = async () => {
<select <select
v-model="currentSessionRequestedMentor" v-model="currentSessionRequestedMentor"
data-cy="select-learning-mentor" data-cy="select-learning-mentor"
class="mt-6"
> >
<option <option
v-for="learningMentor in mentors" v-for="learningMentor in mentors"