diff --git a/public/js/components/Stv/Studentenverwaltung.js b/public/js/components/Stv/Studentenverwaltung.js index 8c077cba6..b009a8bda 100644 --- a/public/js/components/Stv/Studentenverwaltung.js +++ b/public/js/components/Stv/Studentenverwaltung.js @@ -189,19 +189,16 @@ export default { + '&orgform=' + orgform, description: 'stv/grade_report_html' }); - extraItems.push({ - link: FHC_JS_DATA_STORAGE_OBJECT.app_root - + 'index.ci.php/person/gradelist/index/' - + '&student_uid=' + 'mb24b025', - description: 'Studienverlauf' - }); } return extraItems; }, -/* linkGradeList(){ - return FHC_JS_DATA_STORAGE_OBJECT.app_root + 'index.ci.php/person/gradelist/index/mb24b025'); - }*/ + selected_uid(){ + return this.selected?.[this.selected.length - 1]?.uid ?? null; + }, + linkGradeList(){ + return FHC_JS_DATA_STORAGE_OBJECT.app_root + 'index.ci.php/person/gradelist/index/' + this.selected_uid + }, }, watch: { 'url_studiensemester_kurzbz': function (newVal, oldVal) { @@ -440,6 +437,9 @@ export default { }, deleteCustomFilter(){ this.$refs.stvList.resetFilter(); + }, + showAlertNoSelectedStudent(){ + this.$fhcAlert.alertError(this.$p.t('ui', 'alert_chooseStudent')); } }, created() { @@ -639,8 +639,11 @@ export default {
  • - - Studienverlauf + + {{ $p.t('stv/studienverlauf') }} + + + {{ $p.t('stv/studienverlauf') }}
  • diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 0476db2c9..ba7730c29 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -58177,6 +58177,46 @@ I have been informed that I am under no obligation to consent to the transmissio ) ), // ### Phrases Dashboard Admin END + array( + 'app' => 'core', + 'category' => 'ui', + 'phrase' => 'alert_chooseStudent', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bitte eine/n Studierende/n markieren!', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Please select a student!', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'stv', + 'phrase' => 'studienverlauf', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Studienverlauf', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Gradelist', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), );