Rework
This commit is contained in:
parent
ffe1709e7f
commit
e55a5e9e42
|
|
@ -31,7 +31,7 @@ onMounted(async () => {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="assignment">
|
<div v-if="assignment">
|
||||||
<div class="w-[395px]">
|
<div class="sm:w-[395px]">
|
||||||
<AssignmentProgressSummaryBox
|
<AssignmentProgressSummaryBox
|
||||||
:total-assignments="assignment.total_count"
|
:total-assignments="assignment.total_count"
|
||||||
:achieved-points-count="assignment.points_achieved_count"
|
:achieved-points-count="assignment.points_achieved_count"
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ const circles = computed(() => {
|
||||||
(c) => props.showCircleSlugs?.includes(c.slug) ?? true
|
(c) => props.showCircleSlugs?.includes(c.slug) ?? true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return lpQueryResult.circles.value ?? [];
|
return lpQueryResult.circles.value ?? [];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -45,7 +46,10 @@ const wrapperClasses = computed(() => {
|
||||||
if (props.diagramType === "horizontal") {
|
if (props.diagramType === "horizontal") {
|
||||||
classes += " flex-row h-8 space-x-2";
|
classes += " flex-row h-8 space-x-2";
|
||||||
} else if (props.diagramType === "horizontalSmall") {
|
} else if (props.diagramType === "horizontalSmall") {
|
||||||
classes += " flex-row h-4 space-x-[1.8px]";
|
classes +=
|
||||||
|
filteredCircles.value.length > 15
|
||||||
|
? " flex-row h-3 space-x-[1.1px]"
|
||||||
|
: " flex-row h-4 space-x-[1.8px]";
|
||||||
} else if (props.diagramType === "singleSmall") {
|
} else if (props.diagramType === "singleSmall") {
|
||||||
classes += " h-8";
|
classes += " h-8";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@
|
||||||
"a.Nicht bestanden": "Nicht bestanden",
|
"a.Nicht bestanden": "Nicht bestanden",
|
||||||
"a.Nicht bewertet": "Nicht bewertet",
|
"a.Nicht bewertet": "Nicht bewertet",
|
||||||
"a.Nichtleben": "Nichtleben",
|
"a.Nichtleben": "Nichtleben",
|
||||||
|
"a.Noch nicht bestätigt": "Noch nicht bestätigt",
|
||||||
"a.Note": "Note",
|
"a.Note": "Note",
|
||||||
"a.NUMBER Elemente abgeschlossen": "{NUMBER} Elemente abgeschlossen",
|
"a.NUMBER Elemente abgeschlossen": "{NUMBER} Elemente abgeschlossen",
|
||||||
"a.NUMBER Präsenztage abgeschlossen": "{NUMBER} Präsenztage abgeschlossen",
|
"a.NUMBER Präsenztage abgeschlossen": "{NUMBER} Präsenztage abgeschlossen",
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@
|
||||||
"a.Nicht bestanden": "Échoué",
|
"a.Nicht bestanden": "Échoué",
|
||||||
"a.Nicht bewertet": "Non évalué",
|
"a.Nicht bewertet": "Non évalué",
|
||||||
"a.Nichtleben": "Non-vie",
|
"a.Nichtleben": "Non-vie",
|
||||||
|
"a.Noch nicht bestätigt": "Pas encore confirmé",
|
||||||
"a.Note": "Note",
|
"a.Note": "Note",
|
||||||
"a.NUMBER Elemente abgeschlossen": "{NUMBER} éléments terminés",
|
"a.NUMBER Elemente abgeschlossen": "{NUMBER} éléments terminés",
|
||||||
"a.NUMBER Präsenztage abgeschlossen": "{NUMBER} jours de présence complétés",
|
"a.NUMBER Präsenztage abgeschlossen": "{NUMBER} jours de présence complétés",
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@
|
||||||
"a.Nicht bestanden": "Non superato",
|
"a.Nicht bestanden": "Non superato",
|
||||||
"a.Nicht bewertet": "Non valutato",
|
"a.Nicht bewertet": "Non valutato",
|
||||||
"a.Nichtleben": "Non vita",
|
"a.Nichtleben": "Non vita",
|
||||||
|
"a.Noch nicht bestätigt": "Non ancora confermato",
|
||||||
"a.Note": "Note",
|
"a.Note": "Note",
|
||||||
"a.NUMBER Elemente abgeschlossen": "{NUMBER} elementi completati",
|
"a.NUMBER Elemente abgeschlossen": "{NUMBER} elementi completati",
|
||||||
"a.NUMBER Präsenztage abgeschlossen": "{NUMBER} giorni di presenza completati",
|
"a.NUMBER Präsenztage abgeschlossen": "{NUMBER} giorni di presenza completati",
|
||||||
|
|
|
||||||
|
|
@ -63,9 +63,14 @@ const itemDetailUrl = (item: AssignmentStatisticsRecordType) => {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main>
|
<main>
|
||||||
<div class="mb-10 flex items-center justify-between">
|
<div class="mb-10 flex flex-wrap items-center justify-between">
|
||||||
<h3>{{ $t("a.Kompetenznachweis-Elemente") }}</h3>
|
<h3>{{ $t("a.Kompetenznachweis-Elemente") }}</h3>
|
||||||
<button v-if="true" class="flex" data-cy="export-button" @click="exportData">
|
<button
|
||||||
|
v-if="true"
|
||||||
|
class="flex pt-3 sm:pt-0"
|
||||||
|
data-cy="export-button"
|
||||||
|
@click="exportData"
|
||||||
|
>
|
||||||
<it-icon-export></it-icon-export>
|
<it-icon-export></it-icon-export>
|
||||||
<span class="ml inline-block">{{ $t("a.Als Excel exportieren") }}</span>
|
<span class="ml inline-block">{{ $t("a.Als Excel exportieren") }}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -78,7 +83,7 @@ const itemDetailUrl = (item: AssignmentStatisticsRecordType) => {
|
||||||
>
|
>
|
||||||
<template #default="{ item }">
|
<template #default="{ item }">
|
||||||
<div
|
<div
|
||||||
class="flex justify-between"
|
class="flex flex-wrap justify-between"
|
||||||
:data-cy="`${(item as AssignmentStatisticsRecordType).assignment_title}@${(item as AssignmentStatisticsRecordType).course_session_id}`"
|
:data-cy="`${(item as AssignmentStatisticsRecordType).assignment_title}@${(item as AssignmentStatisticsRecordType).course_session_id}`"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -109,7 +114,7 @@ const itemDetailUrl = (item: AssignmentStatisticsRecordType) => {
|
||||||
{{ total((item as AssignmentStatisticsRecordType).metrics) }}
|
{{ total((item as AssignmentStatisticsRecordType).metrics) }}
|
||||||
bestanden
|
bestanden
|
||||||
</div>
|
</div>
|
||||||
<div v-else>Noch nicht bestätigt</div>
|
<div v-else>{{ $t("a.Noch nicht bestätigt") }}</div>
|
||||||
<ItProgress
|
<ItProgress
|
||||||
:status-count="
|
:status-count="
|
||||||
assignmentStats((item as AssignmentStatisticsRecordType).metrics)
|
assignmentStats((item as AssignmentStatisticsRecordType).metrics)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue