aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.public.php
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-31 18:53:53 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-31 18:57:10 +0200
commit84c46dd3dd9a9b20d066ea704593a96ff0db0523 (patch)
tree296262e3a81af51c37ab5aa9424a604ca311a516 /core/templates/layout.public.php
parent3e0668e348a3935b76c915b8aa1e523caf8da921 (diff)
downloadnextcloud-server-84c46dd3dd9a9b20d066ea704593a96ff0db0523.tar.gz
nextcloud-server-84c46dd3dd9a9b20d066ea704593a96ff0db0523.zip
Add notification container to public layout template
This is needed to show notifications using the standard "OC.Notification.show" function. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core/templates/layout.public.php')
-rw-r--r--core/templates/layout.public.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index 07aff03127d..57491697a2e 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -27,6 +27,9 @@
</head>
<body id="<?php p($_['bodyid']);?>">
<?php include('layout.noscript.warning.php'); ?>
+ <div id="notification-container">
+ <div id="notification"></div>
+ </div>
<header id="header" class="<?php p($_['header-classes']); ?>">
<div class="header-left">
<span id="nextcloud">