Sha256: 332030ef72bcebcfc71faa7adca47d3b956f11c31c7440d9b46bbfb804fe6bf6

Contents?: true

Size: 845 Bytes

Versions: 9

Compression:

Stored size: 845 Bytes

Contents

(function () {

    /**
     * @ngdoc object
     * @name  Bastion.puppet-modules.controller:PuppetModulesDetailsController
     *
     * @description
     *   Provides the functionality for the puppet modules details action pane.
     */
    function PuppetModulesDetailsController($scope, PuppetModule) {
        if ($scope.puppetModule) {
            $scope.panel = {loading: false};
        } else {
            $scope.panel = {loading: true};
        }

        $scope.puppetModule = PuppetModule.get({id: $scope.$stateParams.puppetModuleId}, function () {
            $scope.panel.loading = false;
        });
    }

    angular
        .module('Bastion.puppet-modules')
        .controller('PuppetModulesDetailsController', PuppetModulesDetailsController);

    PuppetModulesDetailsController.$inject = ['$scope', 'PuppetModule'];

})();

Version data entries

9 entries across 9 versions & 1 rubygems

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