Sha256: 9e8bece94c638b186251dc4744022fdb4eebe5ccf60caa2a6dc8abf51eec8e6a

Contents?: true

Size: 872 Bytes

Versions: 28

Compression:

Stored size: 872 Bytes

Contents

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

        if ($scope.errata) {
            $scope.panel.loading = false;
        }

        $scope.errata = Erratum.get({id: $scope.$stateParams.errataId}, function () {
            $scope.panel.loading = false;
        }, function (response) {
            $scope.panel.loading = false;
            ApiErrorHandler.handleGETRequestErrors(response, $scope);
        });
    }
]);

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.2.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.1.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.1.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.1.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js
katello-3.1.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js