Skip to content

Commit

Permalink
Communication: Fix an issue that stops channels from loading messages (
Browse files Browse the repository at this point in the history
  • Loading branch information
PaRangger authored Nov 16, 2024
1 parent f05b0a5 commit d3311ae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ export abstract class PostingHeaderDirective<T extends Posting> implements OnIni
this.userAuthority = 'tutor';
this.userRoleBadge = roleBadgeTranslationPath + this.userAuthority;
this.userAuthorityTooltip = toolTipTranslationPath + this.userAuthority;
} else {
this.userAuthority = 'student';
this.userRoleBadge = 'artemisApp.metis.userRoles.deleted';
this.userAuthorityTooltip = 'artemisApp.metis.userAuthorityTooltips.deleted';
}
}
}
6 changes: 4 additions & 2 deletions src/main/webapp/i18n/de/metis.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,14 @@
"userRoles": {
"instructor": "Instruktor",
"tutor": "Tutor",
"student": "Student"
"student": "Student",
"deleted": "Gelöscht"
},
"userAuthorityTooltips": {
"instructor": "Lehrkraft: Verantwortlich für die Kursdurchführung.",
"tutor": "Tutor:in: Verantwortlich für die Unterstützung der Studierenden bei ihren Fragen zum Kurs und zu den Übungen.",
"student": "Studierende:r: Nimmt an Kursen und Übungen teil und stellt Fragen."
"student": "Studierende:r: Nimmt an Kursen und Übungen teil und stellt Fragen.",
"deleted": "Gelöscht: Nutzer:in wurde gelöscht."
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions src/main/webapp/i18n/en/metis.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,14 @@
"userRoles": {
"instructor": "Instructor",
"tutor": "Tutor",
"student": "Student"
"student": "Student",
"deleted": "Deleted"
},
"userAuthorityTooltips": {
"instructor": "Instructor: Responsible for course conduction.",
"tutor": "Tutor: Responsible for helping users with their questions about the course and exercises.",
"student": "Student: Takes courses, participates in exercises, and asks questions."
"student": "Student: Takes courses, participates in exercises, and asks questions.",
"deleted": "Deleted: This user was deleted."
}
}
}
Expand Down

0 comments on commit d3311ae

Please sign in to comment.