Sha256: f16a6910d2a54a9fb52d1accfa527e1881c7a2dbc0440bfce4620c990c17099c
Contents?: true
Size: 1.41 KB
Versions: 22
Compression:
Stored size: 1.41 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 repositories list. */ angular.module('Bastion.docker-tags').controller('DockerTagRepositoriesController', ['$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('Repositories'); $scope.table = nutupane.table; $scope.controllerName = 'katello_docker_tags'; $scope.tag.$promise.then(function() { $scope.panel.loading = false; renderTable(); }); } ]);
Version data entries
22 entries across 22 versions & 1 rubygems