Skip to content
Snippets Groups Projects
Commit b665fa8d authored by Thomas Hackl's avatar Thomas Hackl
Browse files

Resolve "Neue Notifications auf der Loginseite sind kaputt"

Closes #4434

Merge request studip/studip!3223
parent ceada3b6
No related branches found
No related tags found
No related merge requests found
...@@ -34,11 +34,13 @@ $show_hidden_login = !$show_login && StudipAuthAbstract::isLoginEnabled(); ...@@ -34,11 +34,13 @@ $show_hidden_login = !$show_login && StudipAuthAbstract::isLoginEnabled();
<div> <div>
<div id="loginbox"> <div id="loginbox">
<header> <header>
<system-notification-manager <?= Studip\VueApp::create('SystemNotificationManager')
id="system-notifications" ->withProps([
class="system-notifications-login" 'id' => 'system-notifications',
:notifications='<?= htmlReady(json_encode(PageLayout::getMessages())) ?>' 'class' => 'system-notifications-login',
append-all-to="#loginbox"></system-notification-manager> 'notifications' => PageLayout::getMessages(MessageBox::class),
'append-all-to' => '#loginbox'
]) ?>
<h1><?= htmlReady(Config::get()->UNI_NAME_CLEAN) ?></h1> <h1><?= htmlReady(Config::get()->UNI_NAME_CLEAN) ?></h1>
</header> </header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment