1
0
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:
Jared Tabor 2014-11-03 10:34:15 -05:00
parent bf6b201bf5
commit df8a7be759
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,8 @@ function JobTemplatesList($scope, $rootScope, $location, $log, $routeParams, Res
LoadBreadCrumbs();
$scope.showActivity = function () {
Stream({ scope: $scope });
};

View File

@ -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'
}
}