Sha256: 0b0a22346c70ec7efada6b48099b95bb71477444cdeaf99c0c6ff800cc156939
Contents?: true
Size: 1.04 KB
Versions: 9
Compression:
Stored size: 1.04 KB
Contents
/** * @ngdoc object * @name Bastion.docker-tags.controller:DockerTagsController * * @requires $scope * @requires $location * @requires Nutupane * @requires DockerTag * @requires CurrentOrganization * * @description * Provides the functionality specific to docker tags 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.docker-tags').controller('DockerTagsController', ['$scope', '$location', 'Nutupane', 'DockerTag', 'CurrentOrganization', function ($scope, $location, Nutupane, DockerTag, CurrentOrganization) { var params = { 'organization_id': CurrentOrganization, 'sort_by': 'name', 'sort_order': 'ASC', 'grouped': true }; var nutupane = new Nutupane(DockerTag, params); $scope.table = nutupane.table; $scope.table.closeItem = function () { $scope.transitionTo('docker-tags.index'); }; }] );
Version data entries
9 entries across 9 versions & 1 rubygems