summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-05-18 14:43:15 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-05-18 14:43:15 -0400
commitdf8981b50172067d3562f1688d3eb5b01652292c (patch)
tree66106b17b631e5ba19d148be68a3f18bcab17785 /www/templates
parentc43cf1fdd12217547f57d65cfe62f9fe488046b8 (diff)
quashed infinite scrolling bug (was being called too many times) and also now displaying events latest first
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index ee8bd087..a2ae5a2e 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -1,4 +1,5 @@
-<ion-view view-title="Events" cache-view="false">
+<ion-view view-title="{{viewTitle.title}} Events" cache-view="false">
+<ion-nav-title>{{viewTitle.title}} Events</ion-nav-title>
<ion-nav-buttons side="left">
<button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"></button>
@@ -24,6 +25,7 @@
<div class="col col-left">
<!-- this ngswitch displays different icons
depending on the cause of the event -->
+ {{$index + 1}}
<div ng-switch on="event.Event.Cause">
<div ng-switch-when="Motion">
<i class="ion-android-walk" style="float:left; font-size:200%;"></i>