-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sr-only text for pod status chart
- Loading branch information
Showing
3 changed files
with
17 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
<div ng-attr-id="{{chartId}}" class="pod-status-chart"></div> | ||
<!-- Include text values for screen readers --> | ||
<div class="sr-only"> | ||
Pod status: | ||
<span ng-repeat="column in chartConfig.data.columns">{{column[1]}} {{column[0]}}</span> | ||
<div ng-if="(pods | hashSize) === 0">No pods.</div> | ||
<div ng-if="(pods | hashSize) !== 0"> | ||
Pod status: | ||
<span ng-repeat="column in podStatusData" ng-if="column[1]">{{column[1]}} {{column[0]}}</span> | ||
</div> | ||
</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