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(); LoadBreadCrumbs();
$scope.showActivity = function () { $scope.showActivity = function () {
Stream({ scope: $scope }); Stream({ scope: $scope });
}; };

View File

@@ -85,6 +85,7 @@ angular.module('JobTemplatesListDefinition', [])
"class": 'btn-danger btn-xs', "class": 'btn-danger btn-xs',
awToolTip: 'Copy template', awToolTip: 'Copy template',
dataPlacement: 'top', dataPlacement: 'top',
ngHide: 'job_template.summary_fields.can_copy===false'
} }
} }