Add feature flag to enable viewing builds and build logs for public repos
This commit is contained in:
parent
0359ac8753
commit
dff4207a89
6 changed files with 18 additions and 6 deletions
|
@ -13,7 +13,9 @@ angular.module('quay').directive('repoPanelInfo', function () {
|
|||
'builds': '=builds',
|
||||
'isEnabled': '=isEnabled'
|
||||
},
|
||||
controller: function($scope, $element, ApiService, Config) {
|
||||
controller: function($scope, $element, ApiService, Config, Features) {
|
||||
$scope.Features = Features;
|
||||
|
||||
$scope.$watch('repository', function(repository) {
|
||||
if (!$scope.repository) { return; }
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ angular.module('quay').directive('buildMiniStatus', function () {
|
|||
restrict: 'C',
|
||||
scope: {
|
||||
'build': '=build',
|
||||
'isAdmin': '=isAdmin'
|
||||
'canView': '=canView'
|
||||
},
|
||||
controller: function($scope, $element, BuildService) {
|
||||
$scope.isBuilding = function(build) {
|
||||
|
|
Reference in a new issue