Sha256: d2b335455b04fd4884d49c71f540296bf7707b778e53f6a86293d1edb0c3a0a2
Contents?: true
Size: 1.01 KB
Versions: 29
Compression:
Stored size: 1.01 KB
Contents
/** * @ngdoc object * @name Bastion.subscriptions.controller:ManifestDetailsController * * @requires $scope * @requires $q * @requires CurrentOrganization * @requires Organization * * @description * Controls the import of a manifest. */ angular.module('Bastion.subscriptions').controller('ManifestDetailsController', ['$scope', '$q', 'CurrentOrganization', 'Organization', function ($scope, $q, CurrentOrganization, Organization) { $scope.organization = Organization.get({id: CurrentOrganization}); $q.all([$scope.organization.$promise]).then(function () { $scope.details = $scope.organization['owner_details']; $scope.upstream = $scope.details.upstreamConsumer; angular.forEach($scope.redhatProvider['owner_imports'], function (value) { if (value.upstreamId === $scope.upstream.uuid) { $scope.manifestImport = value; } }); $scope.panel.loading = false; }); }] );
Version data entries
29 entries across 29 versions & 1 rubygems