-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3368 from jrsquared/update-availability
feat(netflix): Improve Availability Context Dropdown
- Loading branch information
Showing
7 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
app/scripts/modules/netflix/availability/availability.trend.popover.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<div ng-mouseenter="$ctrl.popoverHovered(i)" | ||
ng-mouseleave="$ctrl.hidePopover(i)" | ||
ng-bind-html="$ctrl.popoverContent[i]"></div> | ||
ng-mouseleave="$ctrl.hidePopover(i)" class="availability-trend-popover"> | ||
<h5>{{dot.popoverContent.datetime}}</h5> | ||
<strong>Availability:</strong> {{dot.popoverContent.availability}}%<br /> | ||
<strong>Incident{{dot.popoverContent.incidents.length !== 1 ? 's' : ''}}:</strong> | ||
<span ng-repeat="(i, inc) in dot.popoverContent.incidents"> | ||
<a href="http://go/jira/browse/{{inc}}" target="_blank">{{inc}}</a> | ||
<span ng-if="i < dot.popoverContent.incidents.length - 1">, </span> | ||
</span> | ||
<span ng-if="dot.popoverContent.incidents.length === 0">Unknown</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters