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

Link to person detail page inside ManageStudentsDialog

parent 59fc9665
No related branches found
No related tags found
1 merge request!419Resolve "Add links to group/person detail pages in Core"
Pipeline #193144 passed
...@@ -288,6 +288,25 @@ export default { ...@@ -288,6 +288,25 @@ export default {
<span v-t="'actions.back_to_overview'" /> <span v-t="'actions.back_to_overview'" />
</v-tooltip> </v-tooltip>
{{ item.person.fullName }} {{ item.person.fullName }}
<v-spacer />
<v-tooltip bottom>
<template #activator="{ on, attrs }">
<v-btn
v-bind="attrs"
v-on="on"
icon
:to="{
name: 'core.personById',
params: {
id: item.person.id,
},
}"
>
<v-icon>mdi-open-in-new</v-icon>
</v-btn>
</template>
{{ $t("actions.open_person_page", item.person) }}
</v-tooltip>
</v-card-title> </v-card-title>
<v-card-text> <v-card-text>
<absence-reason-group-select <absence-reason-group-select
......
{ {
"actions": { "actions": {
"back_to_overview": "Zurück zur Übersicht" "back_to_overview": "Zurück zur Übersicht",
"open_person_page": "Detailansicht für {fullName} aufrufen"
}, },
"alsijil": { "alsijil": {
"absence": { "absence": {
......
...@@ -139,7 +139,8 @@ ...@@ -139,7 +139,8 @@
} }
}, },
"actions": { "actions": {
"back_to_overview": "Back to overview" "back_to_overview": "Back to overview",
"open_person_page": "Open detail view for {fullName}"
}, },
"time": { "time": {
"minutes": "minutes", "minutes": "minutes",
......
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