Skip to content

Commit 253057a

Browse files
Merge pull request #2261 from spadgett/fix-show-annotations-label
Automatic merge from submit-queue. Bug 1501849 - Fix show/hide annotations label "Hide Annotations" was displayed when the annotations were not expanded. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1501849
2 parents e679211 + b0cb5fe commit 253057a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/directives/annotations.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p ng-if="annotations" ng-class="{'mar-bottom-xl': !expandAnnotations}">
2-
<a href="" ng-click="toggleAnnotations()">{{!expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}</a>
2+
<a href="" ng-click="toggleAnnotations()">{{expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}</a>
33
</p>
44
<div ng-if="expandAnnotations && annotations" class="table-responsive scroll-shadows-horizontal">
55
<table class="table table-bordered table-bordered-columns key-value-table">

dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5768,7 +5768,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
57685768

57695769
$templateCache.put('views/directives/annotations.html',
57705770
"<p ng-if=\"annotations\" ng-class=\"{'mar-bottom-xl': !expandAnnotations}\">\n" +
5771-
"<a href=\"\" ng-click=\"toggleAnnotations()\">{{!expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}</a>\n" +
5771+
"<a href=\"\" ng-click=\"toggleAnnotations()\">{{expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}</a>\n" +
57725772
"</p>\n" +
57735773
"<div ng-if=\"expandAnnotations && annotations\" class=\"table-responsive scroll-shadows-horizontal\">\n" +
57745774
"<table class=\"table table-bordered table-bordered-columns key-value-table\">\n" +

0 commit comments

Comments
 (0)