Delink the build-mini-status if the user is not the repo admin

This commit is contained in:
Joseph Schorr 2015-03-18 15:43:53 -04:00
parent ab2331a486
commit 99c56b7f98
3 changed files with 19 additions and 5 deletions

View file

@ -9,7 +9,8 @@ angular.module('quay').directive('buildMiniStatus', function () {
transclude: false,
restrict: 'C',
scope: {
'build': '=build'
'build': '=build',
'isAdmin': '=isAdmin'
},
controller: function($scope, $element) {
$scope.isBuilding = function(build) {