<script setup lang="ts">
import AssignmentItem from "@/components/learningMentor/AssignmentItem.vue";
import type { RouteLocationRaw } from "vue-router";

defineProps<{
  taskTitle: string;
  circleTitle: string;
  pendingTasks: number;
  taskLink: RouteLocationRaw;
}>();
</script>

<template>
  <AssignmentItem
    :task-title="`${$t('a.Praxisauftrag')}: ${taskTitle}`"
    :circle-title="circleTitle"
    :pending-tasks="pendingTasks"
    :task-link="taskLink"
    :pending-tasks-label="$t('a.Feedback freigegeben')"
    :task-link-pending-label="$t('a.Feedback geben')"
    :task-link-label="$t('a.Praxisaufträge anschauen')"
  />
</template>
