Sha256: cd9d36d275c11ce219a73f40159a828ec559c28d9c43b0938d6ebe5de43919aa
Contents?: true
Size: 987 Bytes
Versions: 6
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.table = nutupane.table; $scope.controllerName = 'katello_content_views'; }] );
Version data entries
6 entries across 6 versions & 1 rubygems