Sha256: 2dee2d5964d6ad6a26e05eb79d4c44e8408ba0e8e01f5bc0c0099c490cf17b6d
Contents?: true
Size: 1.08 KB
Versions: 22
Compression:
Stored size: 1.08 KB
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. * * @requires translate * */ function FilesController($scope, Nutupane, File, CurrentOrganization, translate) { var nutupane; var params = { 'organization_id': CurrentOrganization, 'sort_by': 'name', 'sort_order': 'ASC' }; nutupane = new Nutupane(File, params); $scope.controllerName = 'katello_files'; // Labels so breadcrumb strings can be translated $scope.label = translate('Files'); nutupane.primaryOnly = true; $scope.table = nutupane.table; $scope.controllerName = 'katello_files'; } angular .module('Bastion.files') .controller('FilesController', FilesController); FilesController.$inject = ['$scope', 'Nutupane', 'File', 'CurrentOrganization', 'translate']; })();
Version data entries
22 entries across 22 versions & 1 rubygems