mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
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…
Reference in New Issue
Block a user