Sha256: b05d0f411e81d3fbfa3b114b3dedfb2374c987cc0c724e804446ab1e5813e9c0

Contents?: true

Size: 932 Bytes

Versions: 75

Compression:

Stored size: 932 Bytes

Contents

(function () {
    'use strict';

    /**
     * @ngdoc controller
     * @name  Bastion.files.controller:FilesController
     *
     * @description
     *   Handles fetching files 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

75 entries across 75 versions & 1 rubygems

Version Path
katello-3.9.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.7.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.8.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.7.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.7.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.7.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.6.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.6.0.1.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.6.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.6.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js