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.16.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.17.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc5 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.15.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.15.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc4 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.15.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.15.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.16.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js
katello-3.15.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js