summaryrefslogtreecommitdiff
path: root/www/templates/state.html
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-10-08 14:13:40 -0400
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-10-08 14:13:40 -0400
commitac992d9d8be5dd71e60c5650efe84c3f40a36e6e (patch)
treeb2acdabc5c773a61dffb8425e3c789e79b06d1bd /www/templates/state.html
parenta5e032c1d38152644ffabead6536dd14b0433119 (diff)
badge notification count for events
Diffstat (limited to 'www/templates/state.html')
-rw-r--r--www/templates/state.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/templates/state.html b/www/templates/state.html
index 653d9a71..440d931e 100644
--- a/www/templates/state.html
+++ b/www/templates/state.html
@@ -2,6 +2,7 @@
<ion-nav-buttons side="left">
<button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"></button>
+ <button data-badge="{{$root.alarmCount}}" class="animated infinite tada button button-icon button-clear ion-ios-bell notification-badge" ng-click="handleAlarms();" ng-if="$root.isAlarm"></button>
</ion-nav-buttons>
<ion-content>
<ion-refresher pulling-text="Pull to reload data..."