Sha256: 1d63c2b9a50790e0dcbc46741088ad8ce289ca33a5226109d8ab293931f8c67b

Contents?: true

Size: 637 Bytes

Versions: 9

Compression:

Stored size: 637 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.errata').controller('ErrataDetailsController', ['$scope', 'Erratum',
    function ($scope, Erratum) {
        if ($scope.errata) {
            $scope.panel = {loading: false};
        } else {
            $scope.panel = {loading: true};
        }

        $scope.errata = Erratum.get({id: $scope.$stateParams.errataId}, 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/errata/details/errata-details.controller.js
katello-2.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-2.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js