Don’t show “web of trust is missing” notification the old way.
[Sone.git] / src / main / resources / templates / include / head.html
index ed83b2f..7b6cc28 100644 (file)
                });
        </script>
 
-       <div id="main">
+       <script language="javascript">
+               /* activate notification polling. */
+               $(document).ready(function() {
+                       setTimeout(getNotifications, 5000);
+               });
+       </script>
 
-               <%if !webInterface.core.identityManager.connected>
-                       <div id="plugin-warning">
-                               <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement="<a href=\"/plugins/\">"|replace needle="{/link}" replacement="</a>">
-                       </div>
-               <%/if>
+       <div id="main">
 
                <div id="notification-area">