aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-04-24 18:47:38 +0200
committerLukas Reschke <lukas@statuscode.ch>2013-04-24 18:47:38 +0200
commitd41b6007254fcd5edaa7c4001a11cd8d2597ec9a (patch)
tree7c56f2d0e2d4320d4af6ba31e74d699fa3902099 /core/templates
parentdd1c876009df15c97602f99b45e3c6e9cbcbf8af (diff)
downloadnextcloud-server-d41b6007254fcd5edaa7c4001a11cd8d2597ec9a.tar.gz
nextcloud-server-d41b6007254fcd5edaa7c4001a11cd8d2597ec9a.zip
Add an update notification on every page for admin users
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index cfe0a551943..12509019b04 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -32,6 +32,9 @@
<body id="<?php p($_['bodyid']);?>">
<div id="notification-container">
<div id="notification"></div>
+ <?php if ($_['updateAvailable']): ?>
+ <div id="update-notification" style="display: inline;"><a href=""><?php print_unescaped($l->t('%s is available. <a href="%s">Click here to get more information.', array($_['updateVersion'], $_['updateLink']))); ?></a></a></div>
+ <?php endif; ?>
</div>
<header><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"