Sha256: d8833b709693ea14fa65983125a586512d225f5d70e9a52d7899a8415740dd0a

Contents?: true

Size: 921 Bytes

Versions: 65

Compression:

Stored size: 921 Bytes

Contents

/**
 * @ngdoc object
 * @name  Bastion.content-hosts.controller:ContentHostPackagesActionsController
 *
 * @requires $scope
 * @requires $location
 * @requires BastionConfig
 *
 * @description
 *   Provides the functionality for the content host package actions.
 */
angular.module('Bastion.content-hosts').controller('ContentHostPackagesActionsController',
    ['$scope', '$location', 'BastionConfig', function ($scope, $location, BastionConfig) {
        var packageName = $location.search().package_name;
        $scope.katelloAgentPresent = BastionConfig.katelloAgentPresent;
        $scope.remoteExecutionPresent = BastionConfig.remoteExecutionPresent;
        $scope.hostToolingEnabled = BastionConfig.hostToolingEnabled;

        $scope.packageAction = {actionType: 'packageInstall'}; //default to packageInstall

        if (packageName) {
            $scope.packageAction.term = packageName;
        }
    }
]);

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
katello-4.9.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.9.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.9.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.7.6 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.9.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.7.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.7.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.7.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.7.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.6.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js
katello-4.6.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js