Sha256: 594a0c46106b58138c9cb048343fe7195ffdbb01a9039424cbbf211aed0c0f74

Contents?: true

Size: 1.09 KB

Versions: 20

Compression:

Stored size: 1.09 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.controllerName = 'katello_docker_tags';

        $scope.table.closeItem = function () {
            $scope.transitionTo('docker-tags.index');
        };
    }]
);

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
katello-3.2.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.2.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.2.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.2.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.2.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.2.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.1.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.1.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.1.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.1.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0.rc7 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0.rc5 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0.rc4 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js
katello-3.0.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js