Sha256: 6fb22d4a007335712f914775d00d769acc461a3adff61ec99f098b377984a651

Contents?: true

Size: 1.67 KB

Versions: 124

Compression:

Stored size: 1.67 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',
        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

124 entries across 124 versions & 1 rubygems

Version Path
katello-3.11.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.11.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.11.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.10.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.10.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.9.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.10.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.9.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.8.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.9.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.7.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.8.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.7.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.7.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.7.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js