Sha256: 1749f0c03a626acb88e32ca265f38940176a40e08395c9fc7c5a2e04c1e7dfd0

Contents?: true

Size: 643 Bytes

Versions: 9

Compression:

Stored size: 643 Bytes

Contents

/**
 * @ngdoc object
 * @name  Bastion.errata.controller:ErrataDetailsController
 *
 * @requires $scope
 * @requires Errata
 *
 * @description
 *   Provides the functionality for the errata details action pane.
 */
angular.module('Bastion.packages').controller('PackageDetailsController', ['$scope', 'Package',
    function ($scope, Package) {
        if ($scope.package) {
            $scope.panel = {loading: false};
        } else {
            $scope.panel = {loading: true};
        }

        $scope.package = Package.get({id: $scope.$stateParams.packageId}, function () {
            $scope.panel.loading = false;
        });
    }
]);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js
katello-2.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js