Sha256: 654d3de3072063907d31ca9de4aa29e19679bf56cc76bb79db472926b7ae263e

Contents?: true

Size: 958 Bytes

Versions: 16

Compression:

Stored size: 958 Bytes

Contents

(function () {
    'use strict';

    /**
     * @ngdoc controller
     * @name  Bastion.puppet-modules.controller:FilesController
     *
     * @description
     *   Handles fetching puppet modules content and populating Nutupane based on the current
     *   ui-router state.
     */
    function FilesController($scope, Nutupane, File, CurrentOrganization) {
        var nutupane;

        var params = {
            'organization_id': CurrentOrganization,
            'sort_by': 'name',
            'sort_order': 'ASC'
        };

        nutupane = new Nutupane(File, params);
        $scope.controllerName = 'katello_files';
        nutupane.masterOnly = true;

        $scope.table = nutupane.table;
        $scope.controllerName = 'katello_files';
    }

    angular
        .module('Bastion.files')
        .controller('FilesController', FilesController);

    FilesController.$inject = ['$scope', 'Nutupane', 'File', 'CurrentOrganization'];

})();

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
katello-3.5.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.5.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.5.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.5.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js