<script setup lang="ts">
import AssignmentItem from "@/components/cockpit/mentor/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.Ergebnisse abgegeben')"
    :task-link-pending-label="$t('a.Ergebnisse bewerten')"
    :task-link-label="$t('a.Praxisaufträge anschauen')"
  />
</template>
