Sha256: 1b352708dacf9e4caea5a43cf3b4ccdaf110c5aafaf1659c5cc63b69fde648f5
Contents?: true
Size: 1.42 KB
Versions: 23
Compression:
Stored size: 1.42 KB
Contents
/** * @ngdoc object * @name Bastion.docker-tags.controller:DockerTagDetailsController * * @requires $scope * @requires $location * @requires DockerTag * @requires CurrentOrganization * @requires translate * * @description * Provides the functionality for the docker tags details environments list. */ angular.module('Bastion.docker-tags').controller('DockerTagEnvironmentsController', ['$scope', '$location', 'Nutupane', 'DockerTag', 'CurrentOrganization', 'translate', function ($scope, $location, Nutupane, DockerTag, CurrentOrganization, translate) { var params = { 'organization_id': CurrentOrganization, 'search': $location.search().search || "", 'sort_by': 'name', 'sort_order': 'ASC', 'paged': false }; var nutupane = new Nutupane(DockerTag, params, null, {disableAutoLoad: true}); var renderTable = function () { params.action = 'repositories'; params.id = $scope.tag.id; nutupane.setParams(params); nutupane.refresh(); }; // Labels so breadcrumb strings can be translated $scope.label = translate('Lifecycle Environments'); $scope.table = nutupane.table; $scope.controllerName = 'katello_docker_tags'; $scope.tag.$promise.then(function() { $scope.panel.loading = false; renderTable(); }); } ]);
Version data entries
23 entries across 23 versions & 1 rubygems