aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 6d4668cd5..e4fb5f2ae 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -84,14 +84,16 @@
<?php
$msg = '';
$status = 'closed';
+ $notificationName = '';
$notif = Minz_Request::getNotification();
if (!empty($notif)) {
$msg = $notif['content'];
$status = $notif['type'];
+ $notificationName = $notif['notificationName'];
invalidateHttpCache();
}
?>
-<div role="dialog" id="notification" class="notification <?= $status ?>" aria-describedby="dialogMsg">
+<div role="dialog" id="notification" class="notification <?= $status ?> <?= $notificationName ?>" aria-describedby="dialogMsg">
<span class="msg" id="dialogMsg"><?= $msg ?></span>
<button class="close" title="<?= _t('gen.action.close') ?>"><?= _i('close') ?></button>
</div>