Sha256: 50e7bcf1d5ac182aeb21682e0650062aa87a20bb4b2cdc7d0eac6cbdab6744fb

Contents?: true

Size: 882 Bytes

Versions: 123

Compression:

Stored size: 882 Bytes

Contents

(function () {

    /**
     * @ngdoc object
     * @name  Bastion.debs.controller:DebController
     *
     * @description
     *   Provides the functionality for the debs details action pane.
     */
    function DebController($scope, Deb, ApiErrorHandler) {
        $scope.panel = {
            error: false,
            loading: true
        };

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

        $scope.deb = Deb.get({id: $scope.$stateParams.debId}, function () {
            $scope.panel.loading = false;
        }, function (response) {
            $scope.panel.loading = false;
            ApiErrorHandler.handleGETRequestErrors(response, $scope);
        });
    }

    angular
        .module('Bastion.debs')
        .controller('DebController', DebController);

    DebController.$inject = ['$scope', 'Deb', 'ApiErrorHandler'];

})();

Version data entries

123 entries across 123 versions & 1 rubygems

Version Path
katello-3.11.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.11.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.10.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.10.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.9.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.10.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.9.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.8.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.9.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.7.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.8.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.7.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.7.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.7.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
katello-3.6.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js