@@ -12180,13 +12180,13 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
12180
12180
"<li ng-if=\"row.showStartBuildAction()\" role=\"menuitem\">\n" +
12181
12181
"<a href=\"\" ng-click=\"row.startBuild(row.buildConfigs[0])\">Start Build</a>\n" +
12182
12182
"</li>\n" +
12183
- "<li ng-if=\"'deploymentconfigs/instantiate' | canI : 'create'\" role=\"menuitem\">\n" +
12183
+ "<li ng-if=\"row.deploymentConfigsInstantiateVersion | canI : 'create'\" role=\"menuitem\">\n" +
12184
12184
"<a href=\"\" ng-if=\"row.canDeploy()\" ng-click=\"row.startDeployment()\">Deploy</a>\n" +
12185
12185
"<a href=\"\" ng-if=\"!(row.canDeploy())\" class=\"disabled-link\" aria-disabled=\"true\">\n" +
12186
12186
"Deploy <span ng-if=\"row.isPaused()\">(Paused)</span>\n" +
12187
12187
"</a>\n" +
12188
12188
"</li>\n" +
12189
- "<li ng-if=\"'deploymentconfigs' | canI : 'update'\" role=\"menuitem\">\n" +
12189
+ "<li ng-if=\"row.deploymentConfigsVersion | canI : 'update'\" role=\"menuitem\">\n" +
12190
12190
"<a ng-href=\"{{row.apiObject | editResourceURL}}\">Edit</a>\n" +
12191
12191
"</li>\n" +
12192
12192
"<li ng-if=\"('pod_presets' | enableTechPreviewFeature)\n" +
@@ -12199,7 +12199,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
12199
12199
" && (row.serviceBindingsVersion | canI : 'delete')\" role=\"menuitem\">\n" +
12200
12200
"<a href=\"\" ng-click=\"row.showOverlayPanel('unbindService', {target: row.apiObject})\">Delete Binding</a>\n" +
12201
12201
"</li>\n" +
12202
- "<li ng-if=\"row.current && ('deploymentconfigs/log' | canI : 'get')\" role=\"menuitem\">\n" +
12202
+ "<li ng-if=\"row.current && (row.deploymentConfigsLogVersion | canI : 'get')\" role=\"menuitem\">\n" +
12203
12203
"<a ng-href=\"{{row.current | navigateResourceURL}}?tab=logs\">View Logs</a>\n" +
12204
12204
"</li>\n" +
12205
12205
"</ul>\n" +
@@ -12211,10 +12211,10 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
12211
12211
"<i class=\"fa fa-ellipsis-v\" aria-hidden=\"true\"></i><span class=\"sr-only\">Actions</span>\n" +
12212
12212
"</button>\n" +
12213
12213
"<ul class=\"dropdown-menu dropdown-menu-right\" uib-dropdown-menu role=\"menu\">\n" +
12214
- "<li role=\"menuitem\" ng-if=\"'pods' | canI : 'update'\">\n" +
12214
+ "<li role=\"menuitem\" ng-if=\"row.podsVersion | canI : 'update'\">\n" +
12215
12215
"<a ng-href=\"{{row.apiObject | editYamlURL}}\">Edit YAML</a>\n" +
12216
12216
"</li>\n" +
12217
- "<li role=\"menuitem\" ng-if=\"('pods/log' | canI : 'get')\">\n" +
12217
+ "<li role=\"menuitem\" ng-if=\"(row.podsLogVersion | canI : 'get')\">\n" +
12218
12218
"<a ng-href=\"{{row.apiObject | navigateResourceURL}}?tab=logs\">View Logs</a>\n" +
12219
12219
"</li>\n" +
12220
12220
"</ul>\n" +
@@ -12239,7 +12239,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
12239
12239
" && (row.serviceBindingsVersion | canI : 'delete')\" role=\"menuitem\">\n" +
12240
12240
"<a href=\"\" ng-click=\"row.showOverlayPanel('unbindService', {target: row.apiObject})\">Delete Binding</a>\n" +
12241
12241
"</li>\n" +
12242
- "<li ng-if=\"(pod = row.firstPod(row.current)) && ('pods/log' | canI : 'get')\" role=\"menuitem\">\n" +
12242
+ "<li ng-if=\"(pod = row.firstPod(row.current)) && (row.podsLogVersion | canI : 'get')\" role=\"menuitem\">\n" +
12243
12243
"<a ng-href=\"{{pod | navigateResourceURL}}?tab=logs\">View Logs</a>\n" +
12244
12244
"</li>\n" +
12245
12245
"</ul>\n" +
0 commit comments