Delink the build-mini-status if the user is not the repo admin
This commit is contained in:
parent
ab2331a486
commit
99c56b7f98
3 changed files with 19 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue