mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
Infocenter Mail Notizen as list and with insertvon-user
This commit is contained in:
@@ -1046,14 +1046,16 @@ class InfoCenter extends FHC_Controller
|
||||
|
||||
$notizenBewerbung = $this->NotizModel->getNotizByTitel($person_id, 'Anmerkung zur Bewerbung')->retval;
|
||||
|
||||
$notizentext = '';
|
||||
$lastElement = end($notizenBewerbung);
|
||||
$notizentext = '<ul style="padding-left: 20px; margin-left: 0;">';
|
||||
foreach ($notizenBewerbung as $notiz)
|
||||
{
|
||||
$notizentext .= $notiz->text;
|
||||
if ($notiz != $lastElement)
|
||||
$notizentext .= ' | ';
|
||||
// For applicant-notices the user is not shown
|
||||
if ($notiz->insertvon != 'online_notiz')
|
||||
$notizentext .= '<li>'.$notiz->text.' ('.$notiz->insertvon.')</li>';
|
||||
else
|
||||
$notizentext .= '<li>'.$notiz->text.'</li>';
|
||||
}
|
||||
$notizentext .= '</ul>';
|
||||
|
||||
$mailadresse = '';
|
||||
foreach ($person->kontakte as $kontakt)
|
||||
|
||||
Reference in New Issue
Block a user