Sha256: 21ef6deab7220ef52812db19481579cfa298d241a7202fb73142669b7c67aee1

Contents?: true

Size: 987 Bytes

Versions: 91

Compression:

Stored size: 987 Bytes

Contents

/**
 * @ngdoc object
 * @name  Bastion.content-views.controller:ContentViewsController
 *
 * @requires $scope
 * @requires Nutupane
 * @requires ContentView
 * @requires CurrentOrganization
 *
 * @description
 *   Provides the functionality specific to ContentViews for use with the Nutupane UI pattern.
 *   Defines the columns to display and the transform function for how to generate each row
 *   within the table.
 */
angular.module('Bastion.content-views').controller('ContentViewsController',
    ['$scope', 'Nutupane', 'ContentView', 'CurrentOrganization',
    function ($scope, Nutupane, ContentView, CurrentOrganization) {

        var nutupane = new Nutupane(ContentView, {
            'nondefault': true,
            'organization_id': CurrentOrganization,
            'sort_by': 'name',
            'sort_order': 'ASC'
        });
        nutupane.masterOnly = true;
        $scope.controllerName = 'katello_content_views';

        $scope.table = nutupane.table;
    }]
);

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
katello-3.16.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.17.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc5 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.15.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.15.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc4 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.15.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.15.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.16.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
katello-3.15.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js