Skip to content
Snippets Groups Projects
Commit dbaa5541 authored by Julian's avatar Julian
Browse files

Show message if group is a child group

parent c4a61263
No related branches found
No related tags found
1 merge request!2Frontend
Pipeline #192996 failed
......@@ -79,6 +79,19 @@ export default {
<person-chip :person="item" />
</template>
<template
v-for="effort in efforts"
#[`header.effort-${effort.id}`]="{ header }"
>
{{ header.text }}
<v-tooltip bottom v-if="effort.group.id !== group.id">
<template v-slot:activator="{ on, attrs }">
<v-icon small v-bind="attrs" v-on="on">$info</v-icon>
</template>
<span>{{ $t("maka.efforts.of_child_group", { groupName: effort.group.name }) }}</span>
</v-tooltip>
</template>
<template
v-for="(effort, effortIndex) in efforts"
#[`item.effort-${effort.id}`]="{ item, index }"
......
......@@ -23,7 +23,8 @@
"grade_set": "Grade Set",
"menu_title": "Efforts",
"title_plural": "Efforts",
"none_yet": "You did not define graded efforts for this group. Create some below to use this feature."
"none_yet": "You did not define graded efforts for this group. Create some below to use this feature.",
"of_child_group": "This effort belongs to the child group {groupName}."
},
"effort_types": {
"menu_title": "Effort Types",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment