diff options
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/base.html | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 6c0e7b999..dfcfb9e3a 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -92,6 +92,23 @@ </span>
</script>
+ <script type="text/template" id="template-notification">
+ <%= if queries %>
+ <span class="btn-query">
+ Queries <span class="badge badge-info"><% queries %></span>
+ </span>
+ <%/if%>
+ <%= if notifications %>
+ <span class="btn-notification">
+ Notifications <span class="badge badge-success"><% notifications %></span>
+ </span>
+ <%/if%>
+ <%= if empty %>
+ Nothing to show
+ <%/if%>
+ </%if%>
+ </script>
+
{% block head %}
{% endblock %}
</head>
@@ -157,9 +174,7 @@ </div>
{% endif %}
</div>
- <div id="notification-area" style="">
- Notifications
- <span class="badge badge-info">88</span>
+ <div id="notification-area">
</div>
<div id="selection-area">
</div>
|