Sha256: 18ea4864c7cfb7bbbf0dabadd64cf35e5e2b2af3c413b070137cda13492b6b32

Contents?: true

Size: 1.69 KB

Versions: 16

Compression:

Stored size: 1.69 KB

Contents

/**
 * @ngdoc object
 * @name Bastion.ostree-branches.config
 *
 * @requires $stateProvider
 *
 * @description
 *   State routes defined for the ostree branches module.
 */
angular.module('Bastion.ostree-branches').config(['$stateProvider', function ($stateProvider) {
    $stateProvider.state('ostree-branches', {
        url: '/ostree_branches?repositoryId',
        permission: ['view_products', 'view_content_views'],
        views: {
            '@': {
                controller: 'OstreeBranchesController',
                templateUrl: 'ostree-branches/views/ostree-branches.html'
            }
        },
        ncyBreadcrumb: {
            label: "{{ 'OSTree Branches' | translate }}"
        }
    })
    .state('ostree-branch', {
        abstract: true,
        url: '/ostree_branches/:branchId',
        permission: ['view_products', 'view_content_views'],
        controller: 'OstreeBranchController',
        templateUrl: 'ostree-branches/details/views/ostree-branch.html'
    })
    .state('ostree-branch.info', {
        url: '',
        permission: ['view_products', 'view_content_views'],
        templateUrl: 'ostree-branches/details/views/ostree-branch-info.html',
        ncyBreadcrumb: {
            label: "{{ branch.name }}",
            parent: 'ostree-branches'
        }
    })
    .state('ostree-branch.repositories', {
        url: '/repositories',
        permission: ['view_products', 'view_content_views'],
        controller: 'OstreeBranchRepositoriesController',
        templateUrl: 'ostree-branches/details/views/ostree-branch-repositories.html',
        ncyBreadcrumb: {
            label: "{{ 'Repositories' | translate }}",
            parent: 'ostree-branch.info'
        }
    });
}]);

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
katello-3.5.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.5.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.5.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.5.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js