added accept/cancel prompt to Notenvorschlag übernehmen spelling out the current benotungsdatum to the user; also added a list over all changedNoten which are about to be freigegeben in the Notenfreigabe Modal before entering a password; fixed/added some phrasen;

This commit is contained in:
Johann Hoffmann
2026-07-24 13:52:05 +02:00
parent 32de4aac6b
commit 273f00a9c4
3 changed files with 208 additions and 7 deletions
@@ -68,7 +68,8 @@ class Noten extends FHCAPI_Controller
'person',
'benotungstool',
'lehre',
'ui'
'ui',
'password'
]);
$this->load->model('education/LePruefung_model', 'LePruefungModel');
@@ -461,7 +462,7 @@ class Noten extends FHCAPI_Controller
}
if(!$this->AuthLib->checkUserAuthByUsernamePassword(getAuthUID(), $result->password)->retval) {
$this->terminateWithError($this->p->t('global', 'wrongPassword'), 'general');
$this->terminateWithError($this->p->t('password', 'wrongPassword'), 'general');
}
$lv_id = $result->lv_id;