From 6bd5f2a707ccf5aec245b7ba56fbbfb46ffd2994 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 15 Nov 2016 15:59:15 -0500 Subject: addresses #371 --- www/js/TimelineCtrl.js | 7 ++++++- www/lang/locale-en.json | 1 + www/templates/timeline.html | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index 2e0c30b8..0f67b085 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -96,7 +96,12 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla }); } - + // helps to navigate to current time quickly + // after a night of heavy navigation + $scope.gotoNow = function() + { + timeline.moveTo(timeline.getCurrentTime()); + }; $scope.move = function(percentage) { move(percentage); diff --git a/www/lang/locale-en.json b/www/lang/locale-en.json index 78175511..6e999e49 100644 --- a/www/lang/locale-en.json +++ b/www/lang/locale-en.json @@ -210,6 +210,7 @@ "kNoMonitors" :"No monitors to display", "kNoMoreEvents" :"no more events", "kNormalPlay" :"normal play", + "kNow" :"now", "kOff" :"off", "kOn" :"on", "kOnTapNavigate" :"on tap, navigate to", diff --git a/www/templates/timeline.html b/www/templates/timeline.html index ab9d8030..d2ada69d 100644 --- a/www/templates/timeline.html +++ b/www/templates/timeline.html @@ -37,6 +37,9 @@ +

{{newEvents}}

-- cgit v1.2.3