Skip to content

Commit 711693f

Browse files
author
OpenShift Bot
authoredFeb 21, 2017
Merge pull request #1257 from rhamilto/issue-1252
Merged by openshift-bot
2 parents 81a20fd + c2fbccb commit 711693f

File tree

4 files changed

+0
-101
lines changed

4 files changed

+0
-101
lines changed
 

‎app/scripts/directives/resources.js

-12
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,6 @@ angular.module('openshiftConsole')
136136
templateUrl: 'views/_volume-claim-templates.html'
137137
};
138138
})
139-
.directive('environment', function() {
140-
return {
141-
restrict: 'E',
142-
scope: {
143-
envVars: '='
144-
},
145-
templateUrl: 'views/directives/environment.html',
146-
controller: function($scope) {
147-
$scope.expanded = {};
148-
}
149-
};
150-
})
151139
.directive('hpa', function() {
152140
return {
153141
restrict: 'E',

‎app/views/directives/environment.html

-37
This file was deleted.

‎dist/scripts/scripts.js

-11
Original file line numberDiff line numberDiff line change
@@ -10937,17 +10937,6 @@ templates:"="
1093710937
},
1093810938
templateUrl:"views/_volume-claim-templates.html"
1093910939
};
10940-
}).directive("environment", function() {
10941-
return {
10942-
restrict:"E",
10943-
scope:{
10944-
envVars:"="
10945-
},
10946-
templateUrl:"views/directives/environment.html",
10947-
controller:[ "$scope", function(a) {
10948-
a.expanded = {};
10949-
} ]
10950-
};
1095110940
}).directive("hpa", function() {
1095210941
return {
1095310942
restrict:"E",

‎dist/scripts/templates.js

-41
Original file line numberDiff line numberDiff line change
@@ -6916,47 +6916,6 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
69166916
);
69176917

69186918

6919-
$templateCache.put('views/directives/environment.html',
6920-
"<div ng-if=\"envVars.length\" class=\"table-responsive\" style=\"margin-top: 5px\">\n" +
6921-
"<table class=\"table table-bordered environment-variables\">\n" +
6922-
"<thead>\n" +
6923-
"<tr>\n" +
6924-
"<th>Name</th>\n" +
6925-
"<th>Value</th>\n" +
6926-
"</tr>\n" +
6927-
"</thead>\n" +
6928-
"<tbody>\n" +
6929-
"<tr ng-repeat=\"env in envVars\">\n" +
6930-
"<td>{{env.name}}</td>\n" +
6931-
"<td ng-if=\"!env.valueFrom\">\n" +
6932-
"<truncate-long-text class=\"env-var-value\" content=\"env.value\" limit=\"200\" newline-limit=\"3\" expandable=\"true\" prettify-json=\"true\"></truncate-long-text>\n" +
6933-
"</td>\n" +
6934-
"<td ng-if=\"env.valueFrom\">\n" +
6935-
"<span class=\"fa fa-external-link-square\" style=\"cursor: help\" data-toggle=\"popover\" data-trigger=\"hover\" data-content=\"This is a referenced value that will be generated when a container is created. On running pods you can check the resolved values by going to the Terminal tab and echoing the environment variable.\"></span>\n" +
6936-
"<span ng-repeat=\"(key, value) in env.valueFrom\">\n" +
6937-
"<span ng-switch on=\"key\">\n" +
6938-
"<span ng-switch-when=\"configMapKeyRef\">\n" +
6939-
"Set to the key <b>{{value.key}}</b> in config map <b>{{value.name}}</b>.\n" +
6940-
"</span>\n" +
6941-
"<span ng-switch-when=\"secretKeyRef\">\n" +
6942-
"Set to the key <b>{{value.key}}</b> in secret <b>{{value.name}}</b>.\n" +
6943-
"</span>\n" +
6944-
"<span ng-switch-when=\"fieldRef\">\n" +
6945-
"Set to the field <b>{{value.fieldPath}}</b> in the current object.\n" +
6946-
"</span>\n" +
6947-
"<span ng-switch-default>\n" +
6948-
"Set to a reference on a <b>{{key}}</b>.\n" +
6949-
"</span>\n" +
6950-
"</span>\n" +
6951-
"</span>\n" +
6952-
"</td>\n" +
6953-
"</tr>\n" +
6954-
"</tbody>\n" +
6955-
"</table>\n" +
6956-
"</div>"
6957-
);
6958-
6959-
69606919
$templateCache.put('views/directives/events-badge.html',
69616920
"<a ng-href=\"project/{{projectContext.projectName}}/browse/events\" class=\"events-badge visible-xs\"><span class=\"event-label\">Events</span><span ng-if=\"warningCount\" class=\"mar-left-md\"><span class=\"pficon pficon-warning-triangle-o mar-right-sm\" aria-hidden=\"true\"></span><span class=\"sr-only\">Warning</span><span class=\"event-count\">{{warningCount}}</span></span><span ng-if=\"normalCount\" class=\"mar-left-sm\"><span class=\"pficon pficon-info mar-right-sm\" aria-hidden=\"true\"></span><span class=\"sr-only\">Normal</span><span class=\"event-count\">{{normalCount}}</span></span></a>\n" +
69626921
"<a href=\"\" ng-click=\"expandSidebar()\" ng-if=\"sidebarCollapsed\" class=\"events-badge hidden-xs\"><span class=\"events-sidebar-expand fa fa-arrow-circle-o-left mar-right-md\"><span class=\"sr-only\">Expand event sidebar</span></span><span class=\"event-label\">Events</span><span ng-if=\"warningCount\" class=\"mar-left-md\"><span class=\"pficon pficon-warning-triangle-o mar-right-sm\" aria-hidden=\"true\"></span><span class=\"sr-only\">Warning</span><span class=\"event-count\">{{warningCount}}</span></span><span ng-if=\"normalCount\" class=\"mar-left-sm\"><span class=\"pficon pficon-info mar-right-sm\" aria-hidden=\"true\"></span><span class=\"sr-only\">Normal</span><span class=\"event-count\">{{normalCount}}</span></span></a>"

0 commit comments

Comments
 (0)
Please sign in to comment.