summaryrefslogtreecommitdiff
path: root/www/templates/events.html
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-17 14:05:43 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-17 14:05:43 -0500
commitb59f8ecd6492f73bab4559e448379e8d3fc47311 (patch)
treeb8d9c29db7428311aae943f349717f7441e9eb29 /www/templates/events.html
parentced7ea1ef0d12c050abd8d88ce39fa2fc4a1d84d (diff)
#89 - toggle between all events and only events with alarm frames
Former-commit-id: 83843aa769b04811442b1e7dbf910cdb7b475279
Diffstat (limited to 'www/templates/events.html')
-rw-r--r--www/templates/events.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index 58ed0eca..37161fa7 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -34,9 +34,10 @@
<!-- lets make sure the events list is not empty as collection repeat needs height -->
+
<div ng-if="!eventsBeingLoaded">
<ion-list show-delete="eventList.showDelete">
- <ion-item repeat="event in events| filter:search.text" item-height="event.Event.height" id="item-{{$index}}" overflow-scroll="true">
+ <ion-item repeat="event in events| filter:search.text" item-height="event.Event.height" id="item-{{$index}}" overflow-scroll="true" ng-if="event.Event.AlarmFrames >= minAlarmCount">
<!--<span class="events-filter-on" ng-if="isEventFilterOn">Filter</span>-->