mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Job Templates list
Added ngHide for copy icon to hide the icon when can_copy=false
This commit is contained in:
parent
bf6b201bf5
commit
df8a7be759
@ -61,6 +61,8 @@ function JobTemplatesList($scope, $rootScope, $location, $log, $routeParams, Res
|
||||
|
||||
LoadBreadCrumbs();
|
||||
|
||||
|
||||
|
||||
$scope.showActivity = function () {
|
||||
Stream({ scope: $scope });
|
||||
};
|
||||
|
||||
@ -85,6 +85,7 @@ angular.module('JobTemplatesListDefinition', [])
|
||||
"class": 'btn-danger btn-xs',
|
||||
awToolTip: 'Copy template',
|
||||
dataPlacement: 'top',
|
||||
ngHide: 'job_template.summary_fields.can_copy===false'
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user