Sha256: 435eba1dc6427ed1c938b5993f4336de7cf4aa67dc7d52711ac4ac16cf53ed2e

Contents?: true

Size: 1.66 KB

Versions: 19

Compression:

Stored size: 1.66 KB

Contents

/**
 * @ngdoc object
 * @name Bastion.docker-tags.config
 *
 * @requires $stateProvider
 *
 * @description
 *   State routes defined for the docker tags module.
 */
angular.module('Bastion.docker-tags').config(['$stateProvider', function ($stateProvider) {
    $stateProvider.state('docker-tags', {
        url: '/docker_tags',
        permission: ['view_products', 'view_content_views'],
        template: '<div ui-view></div>',
        views: {
            '@': {
                controller: 'DockerTagsController',
                templateUrl: 'docker-tags/views/docker-tags.html'
            }
        },
        ncyBreadcrumb: {
            label: "{{ 'Docker Tags' | translate }}"
        }
    })
    .state('docker-tag', {
        abstract: true,
        url: '/docker_tags/:tagId',
        permission: 'view_products',
        controller: 'DockerTagDetailsController',
        templateUrl: 'docker-tags/details/views/docker-tag-details.html',
        ncyBreadcrumb: {
            label: "{{ 'Docker Tags' | translate }}",
            parent: 'docker-tags'
        }
    })
    .state('docker-tag.info', {
        url: '',
        permission: 'view_products',
        templateUrl: 'docker-tags/details/views/docker-tag-info.html',
        ncyBreadcrumb: {
            label: "{{ tag.full_name }}",
            parent: 'docker-tag'
        }
    })
    .state('docker-tag.environments', {
        url: '/environments',
        permission: 'view_environments',
        templateUrl: 'docker-tags/details/views/docker-tag-environments.html',
        ncyBreadcrumb: {
            label: "{{ 'Lifecycle Environments' | translate }}",
            parent: 'docker-tag.info'
        }
    });
}]);

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
katello-3.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js