diff --git a/client/src/components/dashboard/StatisticFilterList.vue b/client/src/components/dashboard/StatisticFilterList.vue index 99ec9df1..7ec9b451 100644 --- a/client/src/components/dashboard/StatisticFilterList.vue +++ b/client/src/components/dashboard/StatisticFilterList.vue @@ -1,8 +1,11 @@ + + + + + {{ $t("a.Feedback Teilnehmer") }} + + + + + + + + + Feedback: Circle «{{ circleMeta(item.circle_id)?.name }}» + + + Durchführung «{{ courseSessionName(item.course_session_id) }}» - + Trainer: {{ circleMeta(item.circle_id)?.experts[0] }} + + + + + + + {{ (item as FeedbackStatisticsRecordType).satisfaction_average }} + + von + + {{ (item as FeedbackStatisticsRecordType).satisfaction_max }} + + + + {{ $t("a.Allgemeine Zufriedenheit") }} + + + + {{ $t("a.Details anschauen") }} + + + + + + + + diff --git a/client/src/router/index.ts b/client/src/router/index.ts index c5ff1f4e..7c03165e 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -181,26 +181,22 @@ const router = createRouter({ { path: "attendance", props: true, - component: () => - import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + component: () => import("@/pages/dashboard/statistic/AttendanceList.vue"), }, { path: "assignment", props: true, - component: () => - import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + component: () => import("@/pages/dashboard/statistic/AttendanceList.vue"), }, { path: "competence", props: true, - component: () => - import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + component: () => import("@/pages/dashboard/statistic/AttendanceList.vue"), }, { path: "feedback", props: true, - component: () => - import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + component: () => import("@/pages/dashboard/statistic/FeedbackList.vue"), }, ], }, diff --git a/server/vbv_lernwelt/dashboard/graphql/types/feedback.py b/server/vbv_lernwelt/dashboard/graphql/types/feedback.py index 1eb1bfe7..427b91ef 100644 --- a/server/vbv_lernwelt/dashboard/graphql/types/feedback.py +++ b/server/vbv_lernwelt/dashboard/graphql/types/feedback.py @@ -26,7 +26,9 @@ class FeedbackStatisticsRecordType(graphene.ObjectType): class FeedbackStatisticsResponsesType(graphene.ObjectType): _id = graphene.ID(required=True) - records = graphene.List(FeedbackStatisticsRecordType, required=True) + records = graphene.List( + graphene.NonNull(FeedbackStatisticsRecordType), required=True + ) summary = graphene.Field(FeedbackStatisticsSummaryType, required=True)