fixed accordion header padding size; student sees public mail, lektor gets notifs to private; remove unused injections; rewrite viewData validation for old Cis to remove console.warnings; clear abgabetermin.kurzbz when changing to smth not quality gate to avoid leaky kurzbz; fixed accordion header style offset for both cis environments; tooltip fix; only show abgabedatum if termin has upload_allowed; lower max-width in old cis; activated custom persistence for assistenz page + stricter promise handling around tableBuilt; activeIndex Handling on Student Page in case of several Projektarbetien; Phrasen gendering;

This commit is contained in:
Johann Hoffmann
2025-12-10 17:41:01 +01:00
parent bb689a6d48
commit eade9b7beb
10 changed files with 193 additions and 137 deletions
@@ -190,12 +190,9 @@ class Abgabe extends FHCAPI_Controller
$pa->downloadLink1 = $downloadLink1;
}
$result = $this->ProjektarbeitModel->getProjektbetreuerEmail($pa->projektarbeit_id);
$data = getData($result);
if(count($data) > 0) {
$pa->email = $data[0]->private_email;
}
$pa->email = $pa->mitarbeiter_uid.'@'.DOMAIN;
if($pa->zweitbetreuer_person_id !== null) {
if($pa->zweitbetreuer_abgeschickt) {
@@ -240,7 +237,7 @@ class Abgabe extends FHCAPI_Controller
}
}
$this->terminateWithSuccess(array($projektarbeiten, DOMAIN, $uid));
$this->terminateWithSuccess(array($projektarbeiten));
}
@@ -857,8 +854,7 @@ class Abgabe extends FHCAPI_Controller
if(file_exists($file_path)) {
$this->terminateWithFileOutput('application/octet-stream', filesize($file_path), basename($file_path));
$this->terminateWithFileOutput('application/octet-stream', file_get_contents($file_path), basename($file_path));
} else {
$this->terminateWithError('File not found');
}
+1 -1
View File
@@ -37,7 +37,7 @@ $includesArray = array(
$this->load->view('templates/FHC-Header', $includesArray);
?>
<div id="abgabetoolroot" class="h-100" route=<?php echo json_encode($route) ?>
<div id="abgabetoolroot" class="h-100" style="max-width: 95%;" route=<?php echo json_encode($route) ?>
uid=<?php echo $uid ?> student_uid_prop=<?php echo $student_uid_prop ?? '""' ?>
stg_kz_prop=<?php echo $stg_kz_prop ?? '""' ?>
>