diff --git a/platform/features/conductor-v2/conductor/bundle.js b/platform/features/conductor-v2/conductor/bundle.js index ff94ca0f9b..c15423f9c7 100644 --- a/platform/features/conductor-v2/conductor/bundle.js +++ b/platform/features/conductor-v2/conductor/bundle.js @@ -26,6 +26,7 @@ define([ "./src/TimeConductor", "./src/ui/ConductorAxisController", "./src/ui/ConductorTOIController", + "./src/ui/TimeOfInterestController", "./src/ui/MctConductorAxis", "./src/ui/NumberFormat", "text!./res/templates/time-conductor.html", @@ -39,6 +40,7 @@ define([ TimeConductor, ConductorAxisController, ConductorTOIController, + TimeOfInterestController, MCTConductorAxis, NumberFormat, timeConductorTemplate, @@ -95,6 +97,15 @@ define([ "timeConductorViewService", "formatService" ] + }, + { + "key": "TimeOfInterestController", + "implementation": TimeOfInterestController, + "depends": [ + "$scope", + "timeConductor", + "formatService" + ] } ], "directives": [ diff --git a/platform/features/conductor-v2/conductor/res/templates/time-conductor.html b/platform/features/conductor-v2/conductor/res/templates/time-conductor.html index 6fb06dffcd..f338a6adbd 100644 --- a/platform/features/conductor-v2/conductor/res/templates/time-conductor.html +++ b/platform/features/conductor-v2/conductor/res/templates/time-conductor.html @@ -89,7 +89,10 @@ ng-click="toi.click($event)">
- +
+ +
diff --git a/platform/features/conductor-v2/conductor/res/templates/time-of-interest.html b/platform/features/conductor-v2/conductor/res/templates/time-of-interest.html index 134e48d834..dac8904da2 100644 --- a/platform/features/conductor-v2/conductor/res/templates/time-of-interest.html +++ b/platform/features/conductor-v2/conductor/res/templates/time-of-interest.html @@ -1,6 +1,6 @@
+ ng-controller="TimeOfInterestController as toi" + ng-class="{ 'pinned': pinned, 'val-to-left': toi.left > 80 }">
- +