Sha256: 18012753963ab263aa9d4aaedd6d27509cae5e8571bdd1b2fd6b987ce00a14be
Contents?: true
Size: 1.17 KB
Versions: 22
Compression:
Stored size: 1.17 KB
Contents
/** * @ngdoc object * @name Bastion.content-views.controller:ContentViewOstreeRepositoriesListController * * @requires $scope * @requires Repository * @requires Nutupane * @requires CurrentOrganization * @requires ContentViewRepositoriesUtil * * @description * Provides UI functionality list/remove ostree repositories from a content view */ angular.module('Bastion.content-views').controller('ContentViewOstreeRepositoriesListController', ['$scope', 'Repository', 'Nutupane', 'CurrentOrganization', 'ContentViewRepositoriesUtil', function ($scope, Repository, Nutupane, CurrentOrganization, ContentViewRepositoriesUtil) { var nutupane; ContentViewRepositoriesUtil($scope); nutupane = new Nutupane(Repository, { 'organization_id': CurrentOrganization, 'content_view_id': $scope.$stateParams.contentViewId, 'content_type': 'ostree' }, 'queryUnpaged'); nutupane.load(); $scope.repositoriesTable = nutupane.table; $scope.removeRepositories = function () { $scope.removeSelectedRepositoriesFromContentView(nutupane, $scope.contentView); }; }] );
Version data entries
22 entries across 22 versions & 1 rubygems